GPU CUDA problems: CUDA_ERROR_UNKNOWN
44 ビュー (過去 30 日間)
Hi I use a GeForce GTX 980 with Ubuntu 15.04, but I have trouble using the GPU from within Matlab. When i run gpuDevice I get the following error " >> g=gpuDevice Error using gpuDevice (line 26) An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_UNKNOWN "
Can anyone help me figuring out what the problem is?
回答 (7 件)
Wajahat 2015 年 12 月 3 日
Try starting matlab with sudo:
>> sudo /usr/local/MATLAB/R2014a/bin/matlab -desktop
Douglas 2015 年 7 月 18 日
編集済み: Douglas 2015 年 7 月 20 日
It seems to be a permission error. I've started matlab as root and, in my case, the problem was solved.
To run as normal user, see this:
You have to install nvidia-modprobe package.
SATYAM KUMAR CHOURASIYA 16MCA1038 2018 年 3 月 12 日
Error using parallel.gpu.CUDADevice.hBuild
An unexpected error occurred trying to retrieve CUDA device properties. The CUDA error was:
my gpu device having computing capacity of 2.1 ,
can u elaborate this is the reason of this issue or something else?
Yuya Kodama 2020 年 11 月 20 日
In my environment, everything from R2020b to R2016a had the same error with no gpu available.
The GPU is Tesla K80 * 2 and the OS is Ubuntu 18,04.
When I checked, nvidia-smi was OK, but even python tensorflow could not call the GPU.
The reason was that my predecessor had left behind a blacklist.conf configuration file with a fixed driver version.
So, all drivers could not be loaded by modprove.
Therefore, I think that the dependencies were broken with the version upgrade.