Disabling TDR for CUDA in Windows 8(在 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.
这篇关于在 Windows 8 中禁用 CUDA 的 TDR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Windows 8 中禁用 CUDA 的 TDR


基础教程推荐
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 常量变量在标题中不起作用 2021-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 这个宏可以转换成函数吗? 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09