Go Bindings for NVML
The NVML API Reference describe various methods that are available as part of NVML.
nvml.h file is included in this repository so that we don’t depend on
the presence of NVML in the build environment.
bindings.go file is the cgo bridge which calls the NVML functions. The
cgo preamble in
dlopen to dynamically load NVML and makes
its functions available.