Search code examples
memoryvideonvapi

How to find GPU memory(video memory) using NVAPI


I am using NVAPI, I can get some performance data by calling this function:

NvAPI_GPU_GetDynamicPstatesInfoEx

But don't know how to get video memory usage. I find some c# codes call this function to get it.

NVAPI.NvAPI_GPU_GetMemoryInfo

But there is no the same function in NVAPI.

Any idea?


Solution

  • Does it have to be in NVAPI? If not, check out Nvidia PerfKit: http://developer.nvidia.com/nvidia-perfkit