如何获取 GPU 信息?
How can I get GPU information?
我有一项任务是使用 C++ 在 Windows 中收集有关 GPU 的信息,但我不知道从哪里开始!有什么想法吗?
更新:我要名称、vram、dac、制造商、版本、时钟。
update2:如果我使用win32_videocontroller class,我只是得到了当前使用的显卡的属性,但如果有更多我需要所有的显卡属性。
开始于:IDirect3D9::GetAdapterIdentifier
如果您在 Windows 8:IDXGIAdapter2::GetDesc2 returns 更多信息
这至少应该为您提供一些基本信息,例如显卡的名称、供应商和功能。不确定 vram/dac/clock。
您可能想要使用 WMI 和 Win32_VideoController class。
我有一项任务是使用 C++ 在 Windows 中收集有关 GPU 的信息,但我不知道从哪里开始!有什么想法吗?
更新:我要名称、vram、dac、制造商、版本、时钟。
update2:如果我使用win32_videocontroller class,我只是得到了当前使用的显卡的属性,但如果有更多我需要所有的显卡属性。
开始于:IDirect3D9::GetAdapterIdentifier
如果您在 Windows 8:IDXGIAdapter2::GetDesc2 returns 更多信息
这至少应该为您提供一些基本信息,例如显卡的名称、供应商和功能。不确定 vram/dac/clock。
您可能想要使用 WMI 和 Win32_VideoController class。