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

조회 수: 3 (최근 30일)
DB
DB 2018년 5월 30일
답변: DB 2018년 6월 4일
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