如何获取 GPU 信息? [英] How can I get GPU information?

查看:36
本文介绍了如何获取 GPU 信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have a task to collect information about GPU in Windows with C++ and I don't know where to start! Any idea?

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

Update: I want name, vram, dac, manufacturer, version, clock.

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

update2: If I use win32_videocontroller class, I just got the currently used video card's properties, but I need all video card's properties if there are more.

推荐答案

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

You might want to use WMI and Win32_VideoController class.

Win32_VideoController 类

这篇关于如何获取 GPU 信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆