NVIDIA / go-nvml

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

Fix missing GPM metrics #122

Closed elezar closed 5 months ago

elezar commented 5 months ago

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

Closes #121

klueska commented 5 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.