Minimum/maximum CUDA Toolkit requirement for R2022a
조회 수: 99 (최근 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
2024년 11월 22일 6:44
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. In recent versions of MATLAB, mexcuda can also generate PTX code to run with CUDAKernel.
댓글 수: 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!