在 Windows 8 中禁用 CUDA 的 TDR
我最近发现了这个 article 适用于 C++AMP,您可以在其中临时禁用 Windows 8 中的 TDR.有没有办法将此解决方案应用于 CUDA?
I recently found this article for C++AMP where you can temporaly disable TDR in Windows 8. Is there any way to apply this solution for CUDA?
推荐答案
可以禁用 Windows WDDM 驱动程序超时检测和恢复机制,或者可以将超时时间延长到大于默认 2 秒.超时检测和恢复记录在MSDN.
Windows WDDM Driver Timeout Detection and Recovery mechanism can be disabled or the timeout can be extended to be greater than the default 2 seconds.Timeout Detection and Recovery is documented on MSDN.
(已以上链接已失效.它提供的信息现在可能在 https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys)
Nsight Visual Studio Edition Nsight.Monitor 具有禁用或增加超时的设置.否则,您可以使用 MSDN 文章中的注册表项.请务必在进行更改后重新启动计算机.
Nsight Visual Studio Edition Nsight.Monitor has settings to disable or increase the timeout. Otherwise, you can use the registry keys in the MSDN article. Make sure to restart the computer after making changes.
我建议您在完全禁用 TDR 之前增加 TdrDelay.
I recommend that you increase TdrDelay before completely disabling TDR.
Tesla GPU 可以使用没有超时看门狗的 Tesla Compute Cluster 驱动程序.
Tesla GPUs can use the Tesla Compute Cluster driver which does not have a timeout watchdog.
相关文章