Retrieving Video Card Memory on cards with more than 4GB of memory

I'm using C++ to retrieve various hardware information utilizing WMI. I'm currently using the Win32_VideoController class and querying various information about video cards. However, as noted in their documentation, the AdapterRAM value returns back as an unsigned 32 bit integer. Thus, on higher end video cards such as the NVIDIA GTX 1080, the value does not ever exceed 4GB despite the card having more than 4GB of memory. See here - https://msdn.microsoft.com/en-us/library/aa394512(v=vs.85).aspx

I've tried a different approach other than using WMI by using the DirectX SDK samples here https://code.msdn.microsoft.com/DirectX-Video-Memory-ee7d8319. Unfortunately, I'm still seeing the same behavior where higher end GPUs aren't returning >4GB of video memory.

Does anyone have any possible solutions or ideas on how else I could accurately retrieve video card specifications on higher end GPUs?

链接地址: http://www.djcxy.com/p/85076.html

上一篇: 在生成时自动停止/重新启动ASP.NET开发服务器

下一篇: 在超过4GB内存的卡上检索视频卡内存