Matlab hangs on gpuArray or gpuDevice

Hi,
My computer has a NVIDIA GTX 690 video card. When I try to use the Matlab parallel toolbox commands gpuDevice or gpuArray or any other gpu commands, Matlab hangs, i.e., it is stuck on "busy" forever. Disabling SLI does not help. This is seriously disappointing. Does anyone have any suggestions? Please?
Thanks!
Aaron

댓글 수: 6

Sean de Wolski
Sean de Wolski 2013년 9월 18일
Contact technical support.
Qian
Qian 2014년 3월 18일
편집: Qian 2014년 3월 18일
I have the same problem. Once this occurs, an orphaned MATLAB.exe exists even when the main MATLAB window is forced-closed and the GPU cannot be reclaimed unless the machine is restarted. I've not had a good solution to this. [R2013a, Windows 7, GTX 470].
Alexey
Alexey 2014년 3월 31일
I have the same problem too. Any execution of functions like gpuArray, gpuDevice an so on freezes matlab. But gpuDeviceCount returns 1.My system is win xp 64 sp2, graph. card GTX 750 Ti.
Joss Knight
Joss Knight 2014년 4월 9일
Can you run nvidia-smi? What is the output?
Agostino
Agostino 2016년 12월 28일
I have the same problem myself:
Win 7 and Geforce 755M
No nvidia-smi.exe present
It used to work with no problem, until I changes the configuration, setting the GPU as preferred board for matlab. Now, when I launch any command related to the GPU, the pc gets completely stuck, showin an error massage saying theat it cannot eject the graphic board. I tryed a clean installation of drivers, it does not show the message anymore, but it gets stuck the same way.
Any ideas?
Thank you!
Joss Knight
Joss Knight 2016년 12월 31일
These "cannot eject" messages on mobile chips are just a consequence of invalid system settings: http://www.mathworks.com/matlabcentral/answers/308308-gpudevice-crashing-entire-system

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

답변 (1개)

Oscar Amoros
Oscar Amoros 2014년 12월 1일
편집: Oscar Amoros 2014년 12월 1일

0 개 추천

The same problem here with two GTX 750 Ti.
I think the problem in my case is that compute capability is 5.0, more than asked, but this GPU has no support for double precission. Is Matlab ever going to support single-precission-only GPU's?
Thanks!
nvidia-smi output. Hope it helps.
Mon Dec 1 14:02:54 2014
+------------------------------------------------------+
| NVIDIA-SMI 340.58 Driver Version: 340.58 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
===============================+======================+======================
| 0 GeForce GTX 750 Ti Off | 0000:02:00.0 N/A | N/A |
| 29% 38C P0 N/A / N/A | 7MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 750 Ti Off | 0000:03:00.0 N/A | N/A |
| 0% 35C P0 N/A / N/A | 7MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
=============================================================================
| 0 Not Supported |
| 1 Not Supported |
+-----------------------------------------------------------------------------+

댓글 수: 1

Walter Roberson
Walter Roberson 2016년 12월 29일
"Is Matlab ever going to support single-precission-only GPU's"
NO.
"I think the problem in my case is that compute capability is 5.0, more than asked, but this GPU has no support for double precision."
Incorrect. That card does double precision at 1/32 single precision. See http://www.tomshardware.com/reviews/geforce-gtx-750-ti-review,3750-16.html

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

카테고리

도움말 센터File Exchange에서 GPU Computing in MATLAB에 대해 자세히 알아보기

질문:

2013년 9월 18일

댓글:

2016년 12월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by