Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave and newer?

139 views (last 30 days)
Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave and newer?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Mar 2021
Edited: MathWorks Support Team on 24 Mar 2021
MATLAB requires that an NVIDIA-supplied graphics driver be installed on your Mac in order to take full advantage of an NVIDIA GPU. NVIDIA has not released an Apple-approved graphics driver for macOS Mojave. For more information, please see this official statement from NVIDIA on NVIDIA's developer forums.
The impact on MATLAB is as follows:
You can use MATLAB with an NVIDIA GPU on macOS Mojave and newer, however, graphics performance is degraded when compared to running MATLAB on previous releases of macOS.
Computational acceleration
NVIDIA-specific functionality such as CUDA is not available which means GPU Arrays, provided by Parallel Computing Toolbox and used by many products, will not work.
The following products have features that make use of CUDA functionality and these features will be impacted by the lack of an NVIDIA-supplied graphics driver:
  • Parallel Computing Toolbox
  • GPU Coder
  • Image Processing Toolbox
  • Deep Learning Toolbox
  • Statistics and Machine Learning Toolbox
  • Computer Vision System Toolbox
  • Signal Processing Toolbox
  • Communications Toolbox
  • Phased Array System Toolbox
  • Text Analytics Toolbox
  • Reinforcement Learning Toolbox
Walter Roberson
Walter Roberson on 31 May 2021
Deep Learning on GPU, and GPU use in Statistics and Machine Learning, will not be supported on Mac any time soon.
I have no information about whether Mathworks is working on GPU for M1; every time I ask through private channels, I get silence.

Sign in to comment.

More Answers (2)

victor chen
victor chen on 1 Aug 2021
where I can get the newest version GPU PROCESSOR IN COMPUTER, like APPLE PRO?
OR best for you recommanded !
many thanks indeed
Victor Chen
Walter Roberson
Walter Roberson on 2 Aug 2021
You may be wondering about getting an eGPU for Mac Pro. As far as I can determine at the moment, the eGPU recommended by Apple never supported NVIDIA. I find two Thunderbolt 3 eGPU manufacturers that do support Nvidia, but you cannot get MacOS CUDA drivers for anything newer than Pascal architecture on Catalina, and Mathworks has dropped support for GPUs on MacOS (because Nvidia has dropped support.)

Sign in to comment.


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!