Matlab hangs on gpuArray or gpuDevice
1 view (last 30 days)
Show older comments
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 Comments
Agostino
on 28 Dec 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
on 31 Dec 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
Answers (1)
Oscar Amoros
on 1 Dec 2014
Edited: Oscar Amoros
on 1 Dec 2014
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 Comment
Walter Roberson
on 29 Dec 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
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!