How do you calculate the load on a nvidia (cuda capable), gpu card?

Process Hacker does this (this is only for Windows), but it's not CUDA-specific.

Up vote 5 down vote favorite 2 share g+ share fb share tw.

I want to know how to display percentage of the graphics card ability upon tasks being sent to the card. Like a Gnome's system monitor. Moreover, how to obtain device parameters to calculate a percentage based on its hardware specs How does nvidia-smi -a get utilization?

Is there an Cuda API to ask the card for this information? C++ cuda hardware gpu nvidia link|improve this question edited Dec 7 '11 at 17:31 asked Dec 7 '11 at 16:10stackoverflow49613 86% accept rate.

Process Hacker does this (this is only for Windows), but it's not CUDA-specific. I know it uses some undocumented functions -- take a look at the plugin's source code to find out how.

Note that this appears to only work on Windows 7+ according to the source-code. Either way, the undocumented function would be "D3DKMTQueryStatistics" from GDI32. Dll and you'd need to get your hands on d3dkmt.

H (google it) for structure definitions. – Jasper Bekkers Dec 8 '11 at 15:08.

What you want to do is not done in CUDA. For a percentage output of the utilization handles by a specific cuda device you have to ask the GPU driver like nvidia-smi does. EDIT: After a little google search I found open-hardware-monitor It is written in C# and shows a way to get the utilization of AMD and nVidia cards on windows systems.

The implementation for AMD cards works on linux and windows. I've looked a bit inside the code. Look at the NVAPI.

Cs file to see how open-hardware-monitor uses the nvidia dlls on windows to get all sensor and load data.

What you want to do is not done in CUDA. For a percentage output of the utilization handles by a specific cuda device you have to ask the GPU driver like nvidia-smi does.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions