CUDA 8.0, Pascal, in Ubuntu
Afficher commentaires plus anciens
I recently got an Nvidia Pascal GTX Titan X. I installed the latest Nvidia display drivers (367) and the latest CUDA Toolkit drivers (CUDA 8.0 RC). (my computer is running Ubuntu 16.04)
Whenever I launch MATLAB (command line or desktop) and run any GPU commands, like gpuDevice or creating a gpuArray, it just freezes.
From what I've seen online, MATLAB R2016A uses CUDA 7.5. Is this a problem with my machine having CUDA 8.0, or is there some other problem? Caffe seems to be working with the GPU just fine.
Réponses (1)
Joss Knight
le 3 Oct 2016
1 vote
It's not because of the toolkit you have installed, it's because you're using a Pascal card, which isn't supported by CUDA 7.5. This means all CUDA code has to be compiled at runtime the first time you use the GPU in MATLAB. There's over 400MB of NVIDIA and MathWorks libraries and that can take 5 minutes. This happens every time you run MATLAB instead of just once because the default cache size is too small. For coping strategies, see http://www.mathworks.com/matlabcentral/answers/289457-parallel-gpu-cudakernel-slow-on-gtx-1080
Catégories
En savoir plus sur GPU Computing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!