I’m new in CUDA programming.
I have some simple example codes (and SDK samples), successfully compiled them and run. But sometimes after several execution screen blinks and random pixels artifacts appear. These pixels are changing while I’m moving widows - refreshing screen. I’ve attached screenshot - looks even worse: on right monitor wallpaper seems to be teared down. Pixel copy from buffer problems?.
I need to restart my laptop to bring it back to work.
My configuration:
Dell Precision M6300
CPU: Intel(R) Core™2 Duo CPU T9300 @ 2.50GHz
nVidia Quadro FX 1600M
I’m new in CUDA programming.
I have some simple example codes (and SDK samples), successfully compiled them and run. But sometimes after several execution screen blinks and random pixels artifacts appear. These pixels are changing while I’m moving widows - refreshing screen. I’ve attached screenshot - looks even worse: on right monitor wallpaper seems to be teared down. Pixel copy from buffer problems?.
I need to restart my laptop to bring it back to work.
My configuration:
Dell Precision M6300
CPU: Intel(R) Core™2 Duo CPU T9300 @ 2.50GHz
nVidia Quadro FX 1600M
This use to happen with every buffer overrun w/ CUDA 0.8. Its been improving over time, there is supposed to be protected memory on the GPU (i.e. one context cannot write into another contexts’s space, or into the driver’s memory), but it seems there are still problems with that.
Run your program with cuda-memcheck (cuda-memcheck executable arguments). It can generally identify what kernel and thread is writing past the end of the buffer. If you compile with -G -g command line options, you can run with cuda-gdb and it will break on the exact line of code that is performing the write.