Matlab link to new CUDA toolkit

11 次查看(过去 30 天)
Matteo B.
Matteo B. 2015-9-17
Hi everyone, I'm using matlab under Unix installed while cuda toolkit 5.0 was present. I recently upgraded to cuda toolkit 6.5 but I see from gpuDevice still matlab pointing to toolkit 5.0 (still present but not the default one). On the other side system('nvcc --version') shows properly cuda toolkit 6.5. Can you tell me the best way to redirect matlab to the new toolkit path? Thanks a lot.

回答(1 个)

Edric Ellis
Edric Ellis 2015-9-18
The version of the CUDA toolkit used by a particular release of MATLAB is fixed, and cannot be changed. Later releases of MATLAB use later releases of the CUDA toolkit. If you're compiling MEX files to use with MATLAB, you must use the version of nvcc that corresponds to the version of the CUDA toolkit used by MATLAB.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by