필터 지우기
필터 지우기

GPU on Mac does not work.

조회 수: 25 (최근 30일)
B Janssen
B Janssen 2018년 10월 29일
댓글: Walter Roberson 2018년 10월 31일
Hi, I am new to working with the GPU parallel computing capacity of Matlab, so I am a bit in uncharted waters here... I am trying to use the GPU capacity of my mac (MacBook Pro (17-inch, Mid 2009; OSX 10.11.6), which still came with a NVIDIA GeForce 9400M video card (!), for parallel computing. Installed recommended CUDA version (CUDA Driver Version: 7.5.27) and NVDIA driver (version; 346.03.15.f.16), and tried to use some Matlab examples to see if it would fire up:
if true
% A = gpuArray([1 0 1; -1 -2 0; 0 1 -1]);
end
It returned the following error message:
"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.
Error in parallel.internal.gpu.deviceCount Error in parallel.gpu.GPUDevice.count (line 26) c = parallel.internal.gpu.deviceCount;
Error in gpuDeviceCount (line 14) n = parallel.gpu.GPUDevice.count;
Caused by: The CUDA driver was found, but the function 'cuDriverGetVersion' returned an error. The error returned was: CUDA_ERROR_NOT_INITIALIZED"
So am I correct to understand that it looks as if the drivers are found but the GPU is not found? The GPU appears to be working fine, so what else?
Any ideas/suggestions for me how I should move on?
Thanks!
Barry
  댓글 수: 2
John D'Errico
John D'Errico 2018년 10월 29일
Which MATLAB release? You might check this page to start:
https://www.mathworks.com/discovery/matlab-gpu.html
B Janssen
B Janssen 2018년 10월 29일
Hi John, I'm using R2018a. Thanks for the link; I'll check it out! Barry

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 10월 29일
R2018a requires a 9 series cuda driver, but the maximum available for osx 10.11 was an 8 series driver. You will not be able to use gpu unless you go back to an earlier release.
Note: your version of MATLAB is the last one that supports your osx version.
(I am in the same situation.)
  댓글 수: 3
Walter Roberson
Walter Roberson 2018년 10월 29일
The combination OS-X 10.11.6, MATLAB R2017b, Cuda Driver version 8.0.90, GPU Driver version 10.10.14 310.42.25f02 works on my system. (The driver information is from the CUDA system preferences.)
Walter Roberson
Walter Roberson 2018년 10월 31일
Note: your MacBook Pro 2009 is not supported by MacOS Majove, which requires mid-2012 or newer. El Capitan is the OS-X release for your hardware; Sierra requires MacBook Pro mid 2010 or newer.
I am running R2018b on my El Capitan system; the only difficulties I have noticed are for GPU use.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by