Does MATLAB support NVIDIA Ampere cards for GPU computation?
28 views (last 30 days)
Show older comments
MathWorks Support Team
on 11 Sep 2020
Edited: MathWorks Support Team
on 2 Nov 2023
NVIDIA has released a new architecture called "Ampere". Does MATLAB support using these cards to accelerate deep learning training or other GPU computation?Example card names: A100, A30, Geforce RTX 30 series (3080, 3070 etc)
Accepted Answer
MathWorks Support Team
on 2 Nov 2023
Edited: MathWorks Support Team
on 12 Mar 2021
For releases R2010b to R2020b support for Ampere will be via NVIDIA's forwards compatibility mode. Optimized device libraries must be compiled at runtime from an unoptimized version. Support can be limited and you might see errors and unexpected behaviour.
Forward compatibility from CUDA version 10.0–10.2 (MATLAB versions R2019a, R2019b, R2020a and R2020b) to Ampere (compute capability 8.x) has only limited functionality.
Full Ampere built-in binary support within MATLAB is available from R2021a.
For more details please see GPU Support by Release.
Starting in R2020b, forward compatibility for GPU devices is disabled by default. Support can be enabled for the current MATLAB session by executing:
parallel.gpu.enableCUDAForwardCompatibility
Enabling forward compatibility can result in wrong answers and unexpected behavior during GPU computations. In some cases, forward compatibility does not work as expected and recompilation of the libraries results in errors.
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with GPU Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!