Instead of exception handling, my computer reboots
7 posts
• Page 1 of 1
Instead of exception handling, my computer reboots
Hi
I am using the functions culaSgesvd and culaSgemm. I have not tried to find out if other culatools functions cause the same problem.
When I call these functions with data that are too big for the GPU, instead of handling the exception and returning an error, my computer reboots without warning (!).
If I run the same code under cula-memcheck this problem does not occur. Either the code runs as it should, even for data that cause the computer to reboot, or for even bigger data the exception is handled appropriately.
I tried initialising all of my data to zero and calloc-ing the memory for arrays of culaFloat, but this has not fixed the problem.
I would like the exception to be handled correctly so that I can direct my code to do something else if the data are too big for the GPU to handle.
Do you have any suggestions as to how I could debug this problem? I am preparing a MWE, which I can send if you think this would help.
Ubuntu 11.10, CUDA 5.0, CULA 16, nVidia GeForce GTX 580
Thanks in advance
Erika
I am using the functions culaSgesvd and culaSgemm. I have not tried to find out if other culatools functions cause the same problem.
When I call these functions with data that are too big for the GPU, instead of handling the exception and returning an error, my computer reboots without warning (!).
If I run the same code under cula-memcheck this problem does not occur. Either the code runs as it should, even for data that cause the computer to reboot, or for even bigger data the exception is handled appropriately.
I tried initialising all of my data to zero and calloc-ing the memory for arrays of culaFloat, but this has not fixed the problem.
I would like the exception to be handled correctly so that I can direct my code to do something else if the data are too big for the GPU to handle.
Do you have any suggestions as to how I could debug this problem? I am preparing a MWE, which I can send if you think this would help.
Ubuntu 11.10, CUDA 5.0, CULA 16, nVidia GeForce GTX 580
Thanks in advance
Erika
- erikacule
- Posts: 4
- Joined: Tue Jun 26, 2012 8:05 am
Re: Instead of exception handling, my computer reboots
Please post the reproducer once you have completed it - it is impossible to give any guidance absent that.
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
Re: Instead of exception handling, my computer reboots
- Attachments
-
makefile.txt
- I couldn't upload the file without a file extension.
- (645 Bytes) Downloaded 487 times
-
test.c
- test.c
- (2.91 KiB) Downloaded 499 times
- erikacule
- Posts: 4
- Joined: Tue Jun 26, 2012 8:05 am
Re: Instead of exception handling, my computer reboots
No, the GPU is not the display device. I updated the linux kernel when I moved to CUDA 5.0.
Thanks for taking a look though.
Thanks for taking a look though.
- erikacule
- Posts: 4
- Joined: Tue Jun 26, 2012 8:05 am
Re: Instead of exception handling, my computer reboots
culaSgemm is a wrapper to cublasSgemm, so if you are seeing the same problem there, it suggests either a problem with the NVIDIA libs, or somehow a timeout is being triggered even though your display is unattached. I'm afraid I don't have a lot to go on besides that for you.
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
Re: Instead of exception handling, my computer reboots
OK I will take a look at that. I did a Google search about GPU and kernel time out and I see why you asked whether the GPU is the display device, so I will also have a look at the settings for the driver and see if there is something there.
Thanks for taking a look, I appreciate it.
Thanks for taking a look, I appreciate it.
- erikacule
- Posts: 4
- Joined: Tue Jun 26, 2012 8:05 am
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests