gpu Error: CUDA driver found, but returned an error. Error returned was:

2 vues (au cours des 30 derniers jours)
DB
DB le 30 Mai 2018
Réponse apportée : DB le 4 Juin 2018
I am attempting to use the parallel processing toolbox. I have a NVIDIA GeForce GTX 660M 512Mb GPU running on macOS 10.13.3. When I try to select a gnu device, I get the following error
>> gpuDevice
Error using gpuDevice (line 26)
There is a problem with the graphics driver or with this GPU device. Be sure that you have a supported GPU and that the
latest driver is installed.
Caused by:
The CUDA driver was found, but the function 'cuDriverGetVersion' returned an error. The error returned was:
However, there is no error that is being returned. It is just blank. I have just installed the CUDA toolkit and the latest drivers for MacOSx. I have restarted Matlab and the machine in between installs.
  1 commentaire
Joss Knight
Joss Knight le 2 Juin 2018
I don't fully understand the Mac drivers, but I do know you have to install both a CUDA driver and a kernel driver. How did you install your driver? Through the System Preferences or through the NVIDIA driver downloads page?

Connectez-vous pour commenter.

Réponses (1)

DB
DB le 4 Juin 2018
Update, I found a solution to this problem on the NVIDIA development forum:
https://devtalk.nvidia.com/default/topic/1025945/cuda-setup-and-installation/mac-cuda-9-0-driver-fully-compatible-with-macos-high-sierra-10-13-error-quot-update-required-quot-solved-/
This solution worked for me.

Catégories

En savoir plus sur Get Started with GPU Coder 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!

Translated by