win10 no cuda-capable device is detected, error 38”问题解决方法

“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\

解决方法

网上搜索发现是驱动问题,然后猜测是驱动更新后,导致问题错误,于是进行还原:

  1. 打开设备管理器显示适配器,找到对应的GPU,属性
  2. 查看事件:
    事件描述
    可以发现最早安装CUDA时间11/6,后面11/18又添加了一个新的驱动,估计时该驱动更新导致问题;
  3. 找到 驱动程序

驱动程序描述
4. 进行回退驱动程序
5. 测试:
cuda可用

ok!

猜你喜欢

转载自blog.csdn.net/baidu_32186717/article/details/85162235