Question

I need gpu information for my cuda project test.

I am using nvml library, and I successfully get temperature information. But, nvml reports ERROR_NOT_SUPPORTED in nvmlDeviceGetUtilizationRates().

So now, how to get utilization rates of gpu? Clearly, there will be a way like NVIDIA GeForce Experience.

thanks,

p.s. oops! I am insufficient reputation... If you want to see NVIDIA GeForce Experience example image, click this link.

Was it helpful?

Solution

Maybe your graphics card, the GTX Titan (based on your image) simply does not support volatile GPU utilization?
I think this functionality is only supported on Quadro and Tesla cards.

Additionally, can you show how you use nvml in your code?

OTHER TIPS

To see your GPU utilization in linux for nvidia cards use:

nvidia-smi

use -l to refresh for eg

nvidia-smi -l 1

this will refresh for every 1 second.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top