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

3 次查看(过去 30 天)
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 个评论
Joss Knight
Joss Knight 2018-6-2
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?

请先登录,再进行评论。

回答(1 个)

DB
DB 2018-6-4
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with GPU Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by