NVIDIA / go-nvml

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

Rework Lookup interface #86

Closed elezar closed 11 months ago

elezar commented 11 months ago

This change reworks the Lookup function added in #84.

It adds an Interface type at a top level with Lookup functionality in a Library interface.

elezar commented 11 months ago

@klueska I've reworked this a bit. This now incorporates some of the changes from #81 and should make those changes cleaner too. I am addressing the test failures in #89 as a separate PR.