Matlab link to new CUDA toolkit

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.

Antworten (1)

Edric Ellis
Edric Ellis am 18 Sep. 2015

0 Stimmen

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.

Kategorien

Gefragt:

am 17 Sep. 2015

Beantwortet:

am 18 Sep. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by