GPU CUDA problems: CUDA_ERROR_UNKNOWN
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
1 commentaire
Réponses (7)
Ashish Gudla
le 27 Mai 2015
Modifié(e) : Ashish Gudla
le 27 Mai 2015
It is possible that the CUDA driver might be causing the error message. Do you have the latest drivers installed? If not, install the latest drivers and verify if you still see the error message.
You can get the drivers from:
1 commentaire
Wajahat
le 3 Déc 2015
Try starting matlab with sudo:
>> sudo /usr/local/MATLAB/R2014a/bin/matlab -desktop
0 commentaires
Douglas
le 18 Juil 2015
Modifié(e) : Douglas
le 20 Juil 2015
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:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1361207
You have to install nvidia-modprobe package.
0 commentaires
SATYAM KUMAR CHOURASIYA 16MCA1038
le 12 Mar 2018
Error using parallel.gpu.CUDADevice.hBuild
An unexpected error occurred trying to retrieve CUDA device properties. The CUDA error was:
CUDA_ERROR_UNKNOWN
my gpu device having computing capacity of 2.1 ,
can u elaborate this is the reason of this issue or something else?
0 commentaires
Yuya Kodama
le 20 Nov 2020
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.
0 commentaires
bai yang
le 17 Fév 2022
I solved this problem with run as administrator. You can just have a try.
0 commentaires
Voir également
Catégories
En savoir plus sur GPU Computing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!