MATLAB Answers


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

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


No tags entered yet.

1 Answer

Answer by MathWorks Support Team on 30 Jan 2019
 Accepted Answer

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


Yes, the GPU will still work with the CUDA driver on MacOS X 10.13 for now. There are some things to keep in mind with respect to this support for future versions of MATLAB, though:
  • The generations of GPUs supported on Mac OSX are Pascal and Kepler. There is no support for Volta or Turing cards as of this writing. nVidia will drop support for Kepler and Pascal cards at some point in the future. There's no hard date for this to happen at this point.
  • MATLAB has a dependency on the CUDA SDK and Toolkit, which in turn have dependencies on system compilers. At some point it is likely that the toolkit version and compilers will continue to advance, and there may not be an nVidia driver that supports that toolkit release, or that works with a current compiler.
  • Apple will at some point stop supporting OSX 10.13 in terms of security upgrades. We publish a road map for what release of MATLAB supports what release of OSX here. For MacOSX 10.13, the last supported release for MATLAB is R2020a.
Thank You , Jason Ross!!
The discussion from "metacollin" at is interesting. The claim made there is that Mojave no longer uses OpenGL itself and that Apple will not approve any drivers that do not have Metal support, which NVIDIA does not have as yet.
As Metal is a proprietary API it is not obvious that it is financially worthwhile to Nvidia to write such drivers.

Sign in to comment.