Is there a list of what the error codes for different cuda functions mean?

Just what the title say. I am trying to debug a program where a cudaMemcpy from devicetodevice is giving me problems, return error code 4 repeatedly and ending up with a segmentation fault, so I’d like to know whether there is documentation in that respect.?


Thanks, that did the trick. Well, actually, “Unspecified launch failure” is a little too much on the abstract side, but at least its a start. :P

99.999% of the time, that’s a segfault in your kernel.