MATLAB Answers

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

2 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 15 Sep 2021
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!