Hello all, I use cuda-gdb to debug my kernel, after I run the kernel, I get an error: warning: Cuda API error detected: cudaLaunchKernel returned (0x2bd)
, while I can not find the description of the error code, can some one tell me where I can find the description of this error code?
Hi, @794906124
This error usually happens when the sample is built with the GPU arch that is not consistent with the actual GPU.
Would you please double check below build option ?
-gencode arch=compute_XX,code=sm_XX
Make sure “XX” matches the GPU you used.
This topic was automatically closed after 18 hours. New replies are no longer allowed.