Is native Macintosh/AMD/OpenCL support available?

We are starting to plan some hardware purchases. We are primarily a Macintosh shop (a lot of the microscopy folks are used to Macs from back in the day) and the iMac Pro and soon-to-be-released Mac Pro look fairly powerful.
However, it seems all Macs use AMD graphics and I have found references that Matlab requires third-party tools (?hacks?) to exploit the GPU's. Is that still the case? Thanks
References:
  • https://www.mathworks.com/matlabcentral/answers/440797-support-for-hip-and-or-opencl-gpu-acceleration
  • https://www.mathworks.com/matlabcentral/answers/25973-matlab-opencl
  • https://code.google.com/archive/p/opencl-toolbox/

5 commentaires

Kenji Kono
Kenji Kono le 23 Août 2019

Thanks! This might go without saying but “full” Macintosh support would be great, if Mathworks has the bandwidth.

Joss Knight
Joss Knight le 24 Août 2019
It is not Mac support but AMD support that is the issue. MathWorks generally makes every attempt to provide full Mac support.
Kenji Kono
Kenji Kono le 24 Août 2019
Modifié(e) : Kenji Kono le 24 Août 2019
I tend to define "Macintosh" as both the hardware and the software. And since Macintosh hardware only uses AMD GPUs, at this time, then by my definition "full" support would include AMD support.
BUT, i see the other point of view. Personally, I'd rather Apple gave us more options in GPUs, but talking to Apple can be like talking to a brick wall. :)
I am told that OpenCL is a fairly loose framework, with a lot of parts that are optional, and that there are considerable differences in what is implemented by different vendors and even different models. Because of that, it is not practical to create just one OpenCL version -- or at least not an optimized one: you would either have to create a number of different versions or else create one that only used the features that all the important vendors agreed on the implementation of.
Kenji Kono
Kenji Kono le 24 Août 2019
Fair enough; but I am (selfishly) focussing only on Macintosh, and Apple only offers a few models of GPUs at any given moment (for better or worse)
That said, what Apple will do in the future is anyone's guess. So I can see why maintaining OpenCL support on Macintosh could be a problem.
Thanks!

Connectez-vous pour commenter.

 Réponse acceptée

Jason Ross
Jason Ross le 23 Août 2019

0 votes

MATLAB only supports nVidia GPUs and CUDA for GPU calculations through the Parallel Computing Toolbox. The list of supported GPU families can be found here
With Mojave (Mac OSX 10.14), nVidia CUDA drivers are no longer functional. See this Answer. Since the new Mac Pro will only support Mojave, and the iMac Pro only has AMD graphics, these will not be usable by the Parallel Computing Toolbox for GPU computations.

Plus de réponses (0)

Catégories

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by