How to resume GPU?

Hi,

I am using OpenCL now. Sometimes when I make mistakes, for example I write data out of array bounds, there are so many noisy pixels on the screen. Usually I need to restart my linux box to fix it. Anything I can do without rebooting operation system?

Thanks!

You may try with killing/re-starting X only - Ctrl+Alt+Backspace should do the job.

Thanks. I logged out, but it didn’t work.