When calling GpmMetricsGet we convert the GpmMetricsGetType to an nvmlGpmMetricsGetType for the call to nvmlGpmMetricsGet.
On returning from nvmlGpmMetricsGet the contents of the nvmlGpmMetricsGetType.Metrics field corresponds to the collected metrics. These are never transferred into the GpmMetricsGetType passed as input.
When calling
GpmMetricsGet
we convert theGpmMetricsGetType
to annvmlGpmMetricsGetType
for the call tonvmlGpmMetricsGet
.On returning from
nvmlGpmMetricsGet
the contents of thenvmlGpmMetricsGetType.Metrics
field corresponds to the collected metrics. These are never transferred into theGpmMetricsGetType
passed as input.This should be addressed by changing:
to something equivalent to: