发布网友 发布时间:2022-04-24 14:41
共1个回答
热心网友 时间:2023-10-16 22:20
Matlab
>> gpuDevice(1)
Error using gpuDevice (line 26)
An unexpected error occurred ring CUDA execution. The CUDA error was:
CUDA driver version is insufficient for CUDA runtime version
$nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
[Solution]
$cd/usr/lib/nvidia
$sudo ln -s libcuda.so.1 libcuda.so
$sudo ldconfig
Make sure
$cat /etc/ld.so.conf.d/nvidia-lib.conf
/usr/lib/nvidia
Ref:
https://devtalk.nvidia.com/default/topic/617414/-solved-cuda-driver-version-is-insufficient-for-cuda-runtime-version-fedora-18-rpmfusion-driver/