GPU Support for RTX 4090

52 views (last 30 days)
Abdalla Rashed
Abdalla Rashed on 14 Oct 2022
Edited: Walter Roberson on 24 Oct 2022
The GPU Computing Requirements documentations states that 3.5 to 8.x CUDA capability is supported.
Since the recently released RTX 4090 has a CUDA capability of 8.9, does that mean it is supported by default?
If not, when do we get support for the Ada Lovelace architecture?

Answers (2)

Joss Knight
Joss Knight on 24 Oct 2022
Forgive me for needing to correct Walter, but the last three versions of MATLAB will natively support the 4000 series because, as you say, they are within the 8.x architecture series. Hopper (H100) will not be supported natively.

Walter Roberson
Walter Roberson on 14 Oct 2022
No, the last few versions of MATLAB will not support the new RTX 40x0 architecture -- not by default.
You need to use parallel.gpu.enableCUDAForwardCompatibility to give MATLAB permission to use NVIDIA's backwards-compatibility feature. When enabled, each GPU kernel will be automatically recompiled for use with the new device. Sometimes the operations work fine, just not as fast as they might have executed if up-to-date code had been used. Other times, however, the recompiling will introduce bugs... in which case you are fortunate if the code bombs, as at least that tells you your code failed (worse is if the bugs give you wrong answers without telling you something went wrong.)
  5 Comments
Joss Knight
Joss Knight on 24 Oct 2022
Edited: Walter Roberson on 24 Oct 2022
The Ampere series including the 30x0 have indeed been supported since R2021a, see https://uk.mathworks.com/matlabcentral/answers/592198-does-matlab-support-nvidia-ampere-cards-for-gpu-computation .
That GPU Coder problem is I believe because by default Coder tries to compile native binary for your card's specified compute capability, e.g. sm_86, which isn't supported by the compiler shipped with MATLAB. The user would either need to change their settings to compile for sm_80, or install a newer CUDA toolkit.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!