MATLAB Answers

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

조회 수: 240(최근 30일)
Can I use MATLAB with an NVIDIA GPU on macOS 10.14 Mojave?

채택된 답변

MathWorks Support Team
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:
Graphics
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

  댓글 수: 22

표시 이전 댓글 수: 19
Ted Wong
Ted Wong 22 Sep 2020 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 22 Sep 2020 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. http://www.cgchannel.com/2019/11/nvidia-drops-macos-support-for-cuda/
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 22 Sep 2020 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.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by