MATLAB couldn't find my gpu any more

I have got a GTX 560.(win7_64, MATLAB 2012a,cuda 4.2, vs2010, windows sdks 7.1) Two days ago, i run some short and simple codes(eg: gpuDevice, gpuArray, gather) for test, and it's all right then. Then i downloaded the nvmex.m, and compiled a few .cu files. But now, something has really astonished me: when i run gpuDevice again, it tells me: Error using gpuDevice (line 26) No supported GPU device was found on this computer. To learn more about supported GPU devices, see www.mathworks.com/gpudevice.
the ans to gpuDeviceCount is 0.
How could it be that?
PS: as i am a new hand in programming, a detaied answer will be totally be appreciated. Thank you

답변 (2개)

Edric Ellis
Edric Ellis 2012년 8월 16일

1 개 추천

Firstly, I don't know of any good reason why installing nvmex should have any effect on whether the GPU stuff works in MATLAB.
That specific error message implies that we could communicate with the CUDA driver OK, but that the driver told us there were no GPUs we could use. One thought is that something similar can happen if you attempt to use a (non-Tesla) GPU when connected through Windows Remote Desktop - are you doing that?
One other useful piece of information would be: what's the output of running
parallel.internal.gpu.CUDADriverVersion

댓글 수: 3

Wolfgang Garn
Wolfgang Garn 2012년 10월 16일
I have a similar problem after running " G = gpuArray(magic(6));" returns with the message: "No supported GPU device was found on this computer."
The command parallel.internal.gpu.CUDADriverVersion returns 8.17.13.623 (306.23). I have a Nvidia GeForce GT 620, which is supposed to be supported.
I use Windows Remote Desktop - your message suggests that this is the root of the problem. Can I use the GPU capabilities using a remote connection? How?
Jason Ross
Jason Ross 2012년 10월 16일
편집: Jason Ross 2012년 10월 16일
Use VNC instead of Remote Desktop. Depending on the GPU, the driver can only be loaded in WDDM mode or TCC mode. If you can't use TCC mode, the GPU becomes unavailable using RD.
Rohit
Rohit 2013년 8월 27일
Hi - I am having similar issues with GPU and remote desktop. As suggested by Jason I installed VNC, but Matlab still refuses to identify my GPU. Any help will be helpful.

댓글을 달려면 로그인하십시오.

Rohit
Rohit 2013년 8월 27일

0 개 추천

Hi - I am having similar issues with GPU and remote desktop. As suggested by Jason I installed VNC, but Matlab still refuses to identify my GPU. Any help will be helpful.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

질문:

2012년 8월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by