GPU Support for RTX 4090

조회 수: 128(최근 30일)
Abdalla Rashed
Abdalla Rashed 2022년 10월 14일
편집: Walter Roberson 2022년 10월 24일
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?


Joss Knight
Joss Knight 2022년 10월 24일
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 2022년 10월 14일
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
Joss Knight
Joss Knight 2022년 10월 24일
편집: Walter Roberson 2022년 10월 24일
The Ampere series including the 30x0 have indeed been supported since R2021a, see .
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.

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

Community Treasure Hunt

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

Start Hunting!

Translated by