How can I find the version of gcc supported by "mexcuda"?

7 views (last 30 days)
I am using "mexcude" to compile code. How do I find the version of gcc that is supported by "mexcuda"?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Apr 2024 at 0:00
Edited: MathWorks Support Team on 17 Apr 2024 at 23:52
Please first refer to the link below for version of NVCC that is supported by MATLAB. Say for example, you are using MATLAB R2020b. Then the compatible version of NVCC is 10.2. 
You can then navigate to the NVIDIA documentation for CUDA 10.2 below:
From there you might navigate to the Linux System Requirements which show that CUDA 10.2 supports gcc versions up to 8.2.1.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!