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

6 次查看(过去 30 天)
I am using "mexcude" to compile code. How do I find the version of gcc that is supported by "mexcuda"?

采纳的回答

MathWorks Support Team
MathWorks Support Team 2024-4-17,0:00
编辑:MathWorks Support Team 2024-4-17,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 个)

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by