Minimum/maximum CUDA Toolkit requirement for R2022a
76 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm trying to make sure that the CUDA Toolkit version I have installed is compatible with the version of Matlab that I use, as I've heard that parallel computing can be very sensitive to this.
Looking at the current documentation, there are mention of the compute capability requirement, but nothing about CUDA.
I am using Matlab R2022a and CUDA Toolkit 11.7, are they compatible ?
1 件のコメント
Yaneri
2024 年 3 月 6 日
編集済み: Walter Roberson
2024 年 3 月 6 日
Hi, here you can findo toolkit version for matlab versions including latest ones (2023)
回答 (1 件)
Edric Ellis
2022 年 9 月 5 日
編集済み: Edric Ellis
2022 年 9 月 5 日
To run code using gpuArray, you do not need to install a CUDA Toolkit. You only need a CUDA driver. You should always* install the latest CUDA driver for your device. (*In the past, there have been rare occasions where the very latest CUDA driver has caused problems - but in general, it is almost always the right thing to install the lastest CUDA driver).
You can compile CUDA MEX files using mexcuda without installing a CUDA Toolkit as (since R2019b) Parallel Computing Toolbox ships the correct version of the CUDA Toolkit to do this.
If you want to generate CUDA® kernel objects from CU code or use GPU Coder™ to compile CUDA compatible source code, libraries, and executables, you must install a CUDA Toolkit. The CUDA Toolkit contains CUDA libraries and tools for compilation.
The precise CUDA Toolkit needed for those cases is mentioned in the release notes. R2022a uses CUDA Toolkit version 11.2.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で GPU Computing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!