To print any errors that may be returned when you execute a kernel in a human readable way (you get the errors defined in the programming guide), add the following lines after your kernel call:
err = cudaGetLastError();
if (err != cudaSuccess) printf("%s\n", cudaGetErrorString( err ) );
Kernel executions do not produce errors readable this way (or any other). This is explained in the programming manual.
ReplyDelete