Spots on my desktop after running my little GPU code about GA For fun

I have experienced this for a couple of times. A lot of spots appear on my desktop after running my little GPU code about GA. It seems that the video card failed functioning. You can not get rid of it by log off and logging in again or restart the gdm service, except restart your OS. :teehee:
spot_after_running_my_GA_code_on_GPU.png

Usually that is a sign that your code has out of bounds memory access and is over writing the display memory with data.

If you have an app that consistently causes that, please post the source.

My program do it too on windows, but points are larger and they are blinking, but less colorfull.

I agree with that. Any idea to figure it out? Thanks.

Really? Does it look cool when they are blinking? Have fun.

Toolkit 3.0 has cuda-memcheck for exactly this situation.

I like Oceloteven better since it gives even better memory error diagnostics (like using a host pointer on the device, etc).

Yeah I will second the advice about ocelot. Probably about the most useful CUDA diagnostic tool there is (and it is quickly evolving into something even more impressive).

"Really? Does it look cool when they are blinking? Have fun.
"
They are more sparse. But they dissapear and appear randomly. So surprising.