cuda-memcheck what exactly does --continue do unspecified launch failure Address is out of bounds de

The nVidia user manual says --continue means it will “continue executing the rest of the kernel”

but it seems to do more than that. I have an as yet undiagnosed bug in a kernel which was working

kernel<<<grid_size0, block_siz0, shared_size>>>



  cutilCheckMsg("kernel() execution failed.\n");

With out --continue I get

With I get

Is --continue expected to give better diagnostic error messages? Why without --continue does it say “0 errors”. Is this a real error message or just some side effect of trying to contine a kernel which has already died because of something else?

Any help you can give would be most welcome


The bug turned out to be the kernel attempting to read outside the bounds of a global variable.