windows 如何读取GPU(显卡)温度?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2843244/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to read GPU (graphic card) temperature?
提问by mr.b
I am interested in a way how to read GPU temperature (graphics processing unit, main chip of graphic card), by using some video card driver API?
我对如何通过使用某些显卡驱动程序 API 读取 GPU 温度(图形处理单元、显卡主芯片)的方法感兴趣?
Everyone knows that there two different chip manufacturers (popular ones, at least) - ATI and nVIDIA - so there are two different kinds of drivers to read temperature from. I'm interested in learning how to do it for each different card driver.
每个人都知道有两个不同的芯片制造商(至少是流行的)——ATI 和 nVIDIA——所以有两种不同的驱动程序可以读取温度。我有兴趣学习如何为每个不同的卡驱动程序做到这一点。
Language in question is irrelevant - it could be C/C++, .NET platform, Java, but let's say that .NET is preferred.
有问题的语言无关紧要 - 可能是 C/C++、.NET 平台、Java,但假设 .NET 是首选。
Anyone been doing this before?
以前有人这样做过吗?
采纳答案by shoosh
For nVidia you would use nvcpl.dll
.
对于 nVidia,您将使用nvcpl.dll
.
Here's the documentation:
http://developer.download.nvidia.com/SDK/9.5/Samples/DEMOS/common/src/NvCpl/docs/NVControlPanel_API.pdf
这是文档:http:
//developer.download.nvidia.com/SDK/9.5/Samples/DEMOS/common/src/NvCpl/docs/NVControlPanel_API.pdf
回答by mr.b
I found this: AMD Display Library SDK (ADL for short). That covers ATI cards.
我发现了这个:AMD 显示库 SDK(简称 ADL)。这包括 ATI 卡。
http://developer.amd.com/display-library-adl-sdk/
http://developer.amd.com/display-library-adl-sdk/
Link to the original page, via Wayback Machine:
通过 Wayback Machine 链接到原始页面:
http://web.archive.org/web/20101103020811/http://developer.amd.com/gpu/adlsdk/Pages/default.aspx
http://web.archive.org/web/20101103020811/http://developer.amd.com/gpu/adlsdk/Pages/default.aspx