我试图将GPU上的超时从默认的2秒增加到更长的时间。我发现了下面的链接,但它在windows 7中看起来略有不同,因为我看不到网页中提到的任何内容。
以前有人这样做过吗?如果是这样的话,请您填补空白。
谢谢

@RoBik,如果我想要6天(我知道有点过了,只是举个例子),如下所示?再次感谢你的帮助。

编辑--这是我当前遇到的错误。
发生了错误,操作已终止。CUDA.NET例外: ErrorLaunchTimeOut。对上述错误的堆栈跟踪: at Cudafy.Host.CudaGPU.HandleCUDAException(CUDAException ex) at Cudafy.Host.CudaGPU.DoCopyFromDeviceAsyncT at Cudafy.Host.CudaGPU.DoCopyFromDeviceT at Cudafy.Host.CudaGPU.DoCopyFromDeviceT at Cudafy.Host.GPGPU.CopyFromDeviceT at FrazerMann.Profiler.UserInterface.TaskManager.DataRetrieval() at C:.....\TaskManager.cs:line 255 at FrazerMann.Profiler.UserInterface.MainView.btnEvaluation_Click(Object发件人,EventArgs e)在C:....\MainView.cs:line 338的内部异常中:
发布于 2013-06-19 09:02:09
文章中的链接是正确的,您只需要用所需的值创建相应的键。您将找到TDR注册表键的描述这里。您要寻找的设置是
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,并将其值设置为您想要的值(以秒为单位)。在此之后,需要重新启动计算机才能使设置生效。
https://stackoverflow.com/questions/17186638
复制相似问题