nvml-wrapper icon indicating copy to clipboard operation
nvml-wrapper copied to clipboard

samples: Only return samples that are actually valid.

Open umanwizard opened this issue 1 year ago • 0 comments

The number of samples returned can be smaller than the number initially returned by samples_count. Account for this by only returning as many as are actually returned according to the second call to nvmlDeviceGetSamples .

umanwizard avatar Oct 17 '24 20:10 umanwizard