go-nvidia

module
v0.0.0-...-2b09442 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: Apache-2.0

README

go-nvidia

Some wrappers of nvidia tookits for golang.

TODO

  • cuda
  • cublas
  • tensorrt

Usage

# 1. if cuda is not installed in '/usr/local/cuda', please set CFLAGS and LDFLAGS like this:
export CGO_CFLAGS="-I/usr/local/cuda/include"
export CGO_LDFLAGS="-L/usr/local/cuda/lib64"
# 2.then you can run tests
go test github.com/CJH9004/nvidia/cuda
go test github.com/CJH9004/nvidia/cublas
go test github.com/CJH9004/nvidia/tensorrt

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL