首页 > 编程学习 > CUDA_ERROR_SYSTEM_NOT_READY

CUDA_ERROR_SYSTEM_NOT_READY

发布时间:2022/8/31 15:29:00

在使用matlab时报错:

>> gpuDevice
Error using gpuDevice
Failed to initialize graphics driver for computation. The CUDA error was: CUDA_ERROR_SYSTEM_NOT_READY

查阅NVIDIA官方文档:https://docs.nvidia.com/gpudirect-storage/troubleshooting-guide/index.html

安装nvidia-fabricmanager:

# yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
# yum install -y nvidia-fabric-manager-515.65.01-1
注:这里的515.65.01是你的显卡驱动版本号,可通过nvidia-smi查看

启动服务:

# /usr/bin/nv-fabricmanager -c /usr/share/nvidia/nvswitch/fabricmanager.cfg

 

Copyright © 2010-2022 mfbz.cn 版权所有 |关于我们| 联系方式|豫ICP备15888888号