You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3s/vendor/github.com/mindprince/gonvml
Darren Shepherd fa08d6076c
Update vendor
6 years ago
..
LICENSE Update vendor 6 years ago
Makefile Update vendor 6 years ago
NVML_NOTICE Update vendor 6 years ago
README.md Update vendor 6 years ago
bindings.go Update vendor 6 years ago
nvml.h Update vendor 6 years ago

README.md

Go Bindings for NVML

NVML or NVIDIA Management Library is a C-based API that can be used for monitoring NVIDIA GPU devices. It's closed source but can be downloaded as part of the GPU Deployment Kit.

The NVML API Reference describe various methods that are available as part of NVML.

The nvml.h file is included in this repository so that we don't depend on the presence of NVML in the build environment.

The bindings.go file is the cgo bridge which calls the NVML functions. The cgo preamble in bindings.go uses dlopen to dynamically load NVML and makes its functions available.