windows cuda the launch timed out and was terminated 解决方案
在windows下cuda函数运行时间超过5s时,windows会强制结束程序,导致输出结果不对。解决方式可分为三种:1、优化代码,减少程序的运行时间。2、修改注册表: 1)、左下角搜索->regedit 2)、找到HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->control->GraphicsDrivers 3)、右键GraphicsDrivers->新建->DWORD(32 位),命...
原创
2020-11-20 17:46:23 ·
4407 阅读 ·
0 评论