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 commentaires

Sean de Wolski
Sean de Wolski le 18 Sep 2013
Contact technical support.
Qian
Qian le 18 Mar 2014
Modifié(e) : Qian le 18 Mar 2014
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 le 31 Mar 2014
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 le 9 Avr 2014
Can you run nvidia-smi? What is the output?
Agostino
Agostino le 28 Déc 2016
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 le 31 Déc 2016
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

Connectez-vous pour commenter.

Réponses (1)

Oscar Amoros
Oscar Amoros le 1 Déc 2014
Modifié(e) : Oscar Amoros le 1 Déc 2014

0 votes

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 commentaire

Walter Roberson
Walter Roberson le 29 Déc 2016
"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

Connectez-vous pour commenter.

Question posée :

le 18 Sep 2013

Commenté :

le 31 Déc 2016

Community Treasure Hunt

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

Start Hunting!

Translated by