NVIDIA / go-nvml

Go Bindings for the NVIDIA Management Library (NVML)
Apache License 2.0
290 stars 62 forks source link

Remove need for newDynamicLibraryFunc #111

Closed klueska closed 5 months ago

klueska commented 5 months ago

With the introduction of the refcount we no longer need to set library.dl to nil to track when it is loaded or unloaded. Instead we can use the refcount directly.