How can I find the version of gcc supported by "mexcuda"?
7 views (last 30 days)
Show older comments
MathWorks Support Team
on 15 Sep 2021
Edited: MathWorks Support Team
on 17 Apr 2024 at 23:52
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
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!