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 Kommentare

Sean de Wolski
Sean de Wolski am 18 Sep. 2013
Contact technical support.
Qian
Qian am 18 Mär. 2014
Bearbeitet: Qian am 18 Mär. 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 am 31 Mär. 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 am 9 Apr. 2014
Can you run nvidia-smi? What is the output?
Agostino
Agostino am 28 Dez. 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 am 31 Dez. 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Oscar Amoros
Oscar Amoros am 1 Dez. 2014
Bearbeitet: Oscar Amoros am 1 Dez. 2014

0 Stimmen

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 Kommentar

Walter Roberson
Walter Roberson am 29 Dez. 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

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 18 Sep. 2013

Kommentiert:

am 31 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by