[英]Is it possible to access and modify discreet gpu settings in windows using c#
I'm trying to make a overclocking application for windows that can detect you gpu settings and overclock it's core and memory to it's max stable potential. 我正在尝试为Windows开发一个超频应用程序,该应用程序可以检测到您的GPU设置并将其核心和内存超频到最大稳定潜力。
I really want to use c# for this if it's possible. 如果可能的话,我真的很想为此使用c#。
All the searches I do for accessing devices/gpus in windows with c#, refer to using them for performance gains in your c# application. 我使用c#访问Windows中的设备/ gpu所做的所有搜索,请参阅在c#应用程序中使用它们来提高性能。
I've looked into cudafy, but it seems this is another performance gaining thing and not what I'm looking for. 我已经研究过cudafy,但这似乎是另一项获得性能提升的东西,而不是我想要的东西。 I don't know maybe I'm not looking for the right thing.
我不知道我是否在寻找正确的东西。 Any help on this would be great.
任何帮助都会很棒。
Thanks 谢谢
Short answer: No. 简短答案:不可以。
Long answer: Yes, but... 长答案:是的,但是...
.h
header files and .lib
files that tell a compiler what functions do what and where they're located. .h
头文件和.lib
文件可以告诉编译器哪些功能做什么以及它们位于何处。 GetProcAddress
or a C-style export. GetProcAddress
使用的Win32 DLL接口或C样式的导出。 There exist none of those things for GPU hardware control interfaces - so you would have to develop your own, and then you can use C#. So you would have to do this: 因此,您必须这样做:
Notable exception: AMD's Radeon's GUI control panel is (last time I checked) a .NET application - assuming they haven't obfuscated the CLR libraries they use to control the hardware you could probably reference those in your C# project directly and fiddle with settings that way. 显着的例外:AMD的Radeon的GUI控制面板是(我上次检查).NET应用程序-假设它们没有混淆它们用来控制硬件的CLR库,则可以直接引用C#项目中的硬件,并进行设置。方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.