cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

keldor314
Journeyman III

Opencl Driver Lockup When Running, but Works Correctly if Debugger is Attached

I'm having a rather nasty problem with my program where the display driver freezes (and doesn't recover, forcing a hard reboot) when I try to run my kernel.

An important note is that it runs just fine and produces correct results if a debugger is attached to the program!

Anyone have any clue as to what might be going on?  I've attached the kernel that I *think* may be causing the crash, but since it doesn't reproduce when the debugger is attached, it's hard to know exactly where things go bad.

0 Likes
1 Reply

keldor314,

As a test, can you see if removing 'volatile' from your pointers will fix the issue? That will help us narrow it down.

0 Likes