Matlab link to new CUDA toolkit
5 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Edric Ellis
on 18 Sep 2015
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.
0 Comments
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!