NVIDIA / go-nvml

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

Fix missing GPM metrics #122

Closed elezar closed 3 months ago

elezar commented 4 months ago

These changes ensure that the collected GPM metrics are transferred to the original data structure passed to GpmMetricsGet.

Closes #121

klueska commented 3 months ago

The .convert() call does also copy the metrics meaning that any metrics in metricsGet will be in the result of convert().

Yes, but we need the values set back in the original variable passed in.