cudaerrorlaunchfailture

如果是在windows环境下,很有可能是因为核函数运行超时。
安装nsight,管理员模式打开nsight monitor,桌面右下角小图标,右键选项,general中wddm tdr enabled改为false,cuda中use this monitor for cuda attach改为true。

你可能感兴趣的:(cudaerrorlaunchfailture)