MATLAB Answers

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

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

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Jan 2019
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, 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


Ted Wong
Ted Wong on 22 Sep 2020 at 7:00
Is there a way to switch from GPU to CPU? I'm ok the code takes longer to run.
Walter Roberson
Walter Roberson on 22 Sep 2020 at 8:14
Well, in the time since a year ago, there was news from NVIDIA, in November, that they will not be making any further MacOS drivers.
Apple moved third party drives down one ring in security (to reduce the ability of drivers to affect the security of other processes), and apparently now requires that third party drivers be included with each different application, instead of being able to install one driver for use with all applications. That would have required that each different application include the NVIDIA drivers (and driver updates would have to be through Apple App Store for any product purchased through App Store).
That would have been quite a burden for developers, unless NVIDIA and Apple had been able to come to an agreement for Apple to bundle NVIDIA drivers... which Apple would not have much inclination to do unless NVIDIA paid them a bunch of money. Reminder: along with Apple's new ARM based CPUs, Apple also has its own custom GPUs, so Apple now sees NVIDIA as a competitor...
Walter Roberson
Walter Roberson on 22 Sep 2020 at 8:18
Does this mean that GPU computing on Matlab will die on Mac?
NVIDIA GPU computing for MATLAB is already gone on Mac; it is not present in R2020b.
I do not have any information about whether Mathworks is working on support through AMD cards -- but considering Apple is moving to their own GPUs, it would not really make sense for Mathworks to pursue AMD GPU support for the sake of keeping the Mac market. My reading has also suggested that IBM hardware is where the second biggest deep learning research is, so from a research perspective, IBM support might have higher priority than AMD support.

Sign in to comment.

More Answers (0)


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!