gpt4 book ai didi

cuda - 修改注册表以增加 GPU 超时,Windows 7

转载 作者:行者123 更新时间:2023-12-01 16:14:41 26 4
gpt4 key购买 nike

我正在尝试将 GPU 的超时时间从默认设置 2 秒增加到更长一些。我发现了以下link但它在 Windows 7 中似乎略有不同,因为我看不到网页中提到的任何内容。

以前有人这样做过吗?如果可以的话,请您填补空白。

谢谢

@RoBik,如果我想要 6 天,如下所示(我知道有点过多,但只是举例)?再次感谢您的帮助,+1。

编辑这是我当前遇到的错误。

发生错误,操作已终止。 CUDA.NET 异常:ErrorLaunchTimeOut。 上述错误的堆栈跟踪: 在 Cudafy.Host.CudaGPU.HandleCUDAException(CUDAException ex) 在Cudafy.Host.CudaGPU.DoCopyFromDeviceAsync [T](数组devArray,Int32 devOffset,数组hostArray,Int32 hostOffset,Int32计数,Int32streamId) 在 Cudafy.Host.CudaGPU.DoCopyFromDevice[T](数组 devArray,Int32 devOffset,数组 hostArray,Int32 hostOffset,Int32 计数) 在 Cudafy.Host.CudaGPU.DoCopyFromDevice[T](数组 devArray,数组 hostArray) 在 Cudafy.Host.GPGPU.CopyFromDevice[T](T[,] devArray, T[,] hostArray) 在 C:.....\TaskManager.cs 中的 FrazerMann.Profiler.UserInterface.TaskManager.DataRetrieval() 处:第 255 行 在 C:....\MainView.cs 中的 FrazerMann.Profiler.UserInterface.MainView.btnEvaluation_Click(Object sender, EventArgs e):第 338 行 内部异常:

最佳答案

您帖子中的链接是正确的,您只需使用所需的值创建相应的 key 即可。您将找到 TDR 注册表项描述 here 。您正在寻找的设置是

TdrDelay
Specifies the number of seconds that the GPU can delay the preempt request from the GPU scheduler. This is effectively the timeout threshold. The default value is 2 seconds.

KeyPath : HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers
KeyValue : TdrDelay
ValueType : REG_DWORD
ValueData : Number of seconds to delay. 2 seconds is the default value.

您需要做的是在HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers下创建一个名为TdrDelay、类型为REG_DWORD的新键并将其值设置为您想要的值(以秒为单位的值)。之后您需要重新启动计算机以使设置生效。

关于cuda - 修改注册表以增加 GPU 超时,Windows 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17186638/

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