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

3 visualizaciones (últimos 30 días)
DB
DB el 30 de Mayo de 2018
Respondida: DB el 4 de Jun. de 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 comentario
Joss Knight
Joss Knight el 2 de Jun. de 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?

Iniciar sesión para comentar.

Respuestas (1)

DB
DB el 4 de Jun. de 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.

Categorías

Más información sobre Get Started with GPU Coder en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by