i am running the CUDA SDK 3.2 with Visual Studio 2008 on Windows 7 with a single NVIDIA GPU installed. The GPU is doing the displaying aswell because i don’t have an onboard display port.
I have a kernel which i supply with preallocated data. The processing time varies depending on the size of the data. The kernel executes for about 500ms and everything goes ok. If it takes longer (because of the input data), the kernel runs ok, too, but any call to the CUDA environment, like
fail with my screen going black and a message from Visual Studio that the application had a first-chance exception at some memory location. When the screen returns to normal i get a message from the NVIDIA driver, that it had crashed but recovered from it.
So my question, what may be causing this strange behaviour? No matter how large the data is, i can step over the kernel invocation and the next call fails with a black screen. This seems weird, as the kernel seems to execute just fine with small data and therefore low execution time.
For me it sounds like a buffer overrun inside the kernel which causes the CUDA environment to crash afterwards which doesn’t seem reasonable at all because my data is always allocated the same, just with different sizes.
Best regards and thanks for your input, tdhd