Why does gpuArray() error out?

5 views (last 30 days)
madhan ravi
madhan ravi on 13 Aug 2019
Commented: madhan ravi on 17 Aug 2019
What does the error mean?
>> A = gpuArray( rand(1024) );
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 could not be loaded. The library name used was
'/usr/local/cuda/lib/libcuda.dylib'. The error was:
dlopen(/usr/local/cuda/lib/libcuda.dylib, 10): image not found
>>
  2 Comments
Jackson Burns
Jackson Burns on 13 Aug 2019
I would reccomend updating/re-installing your graphics driver to see if that solves the problem.
madhan ravi
madhan ravi on 13 Aug 2019
Will do that and see if it works, thanks.

Sign in to comment.

Answers (1)

Joss Knight
Joss Knight on 13 Aug 2019
  13 Comments
Walter Roberson
Walter Roberson on 17 Aug 2019
Note: eGPU on Mac only officially supports some AMD Radeon .
However: Your MacPro mid 2012 13" appears to be model MacBookPro9,2 with 1280 by 800 resolution internal. That model has two USB3.0 connectors, and a Firewire 800 connector, and a Thunderbolt 1 connector. You would therefore not be able to use any of the external GPUs that need Thunderbolt 3 connectors.
I happen to have the very next model up, the mid 2012 15.4 inch, which I took the upgraded display resolution on. It has a GeForce GT 650M as well as HD 4000. However, I effectively do not use that system now; the memory limitations (8 Gb) were getting tiresome, and the hard drive started to whine.
madhan ravi
madhan ravi on 17 Aug 2019
Thank you , sir Walter.

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!