gpt4 book ai didi

c++ - 如何获取 GPU 信息?

转载 作者:可可西里 更新时间:2023-11-01 09:20:03 25 4
gpt4 key购买 nike

我有一项任务是使用 C++ 在 Windows 中收集有关 GPU 的信息,但我不知道从哪里开始!有什么想法吗?

更新:我需要名称、vram、dac、制造商、版本、时钟。

update2:如果我使用 win32_videocontroller 类,我只是得到当前使用的视频卡的属性,但如果有更多,我需要所有视频卡的属性。

最佳答案

您可能想要使用 WMI 和 Win32_VideoController 类。

Win32_VideoController class

关于c++ - 如何获取 GPU 信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29331253/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com