“win10 no cuda-capable device is detected, error 38”问题解决方法
error
起初CUDA一切正常,然后某天突然发现error:cuda runtime error (38) : no CUDA-capable device is detected at …\aten\src\
解决方法
网上搜索发现是驱动问题,然后猜测是驱动更新后,导致问题错误,于是进行还原:
- 打开设备管理器 ,显示适配器,找到对应的GPU,属性;
- 查看事件:
可以发现最早安装CUDA时间11/6,后面11/18又添加了一个新的驱动,估计时该驱动更新导致问题;
- 找到 驱动程序 :
4. 进行回退驱动程序;
5. 测试:
ok!