Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
/ gonvml Public archive
forked from mindprince/gonvml

NVIDIA Management Library (NVML) bindings for Go

License

Notifications You must be signed in to change notification settings

Eifoen/gonvml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

NVIDIA Management Library (NVML) bindings for Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.2%
  • Go 14.6%
  • Other 0.2%