I think this problem may be obvious but i am not able to make out the reason for that.
In my code, I have a kernel launch followed by cudaThreadsynchronize() and then cudaMemcpy();
When I try to run the program I get following error:
Cuda error in file ‘CudaPoissonEquation1DMultipleBlock01SingleKernel.cu’ in line 352 : unspecified launch failure.
In that line cudaMemcpy() is there.
There is no problem with the arguments of this call.
When i looked for the reason on net, some one said that this error is equivalent to segmentation fault on CPU and they recommended to dig into the kernel.
I have been digging into the kernel, but I could not find any reason (All memory access are well in the bound).
If some one tells me possible reasons for this error, that will be great help to me.
Thanks a lot.