0
我调试CUDA程序,得到了以下警告:如何找到其中检测Cuda的API错误时没有程序崩溃:cudaMemcpy返回(0XB)
warning: Cuda API error detected: cudaMemcpy returned (0xb)
warning: Cuda API error detected: cudaMemcpy returned (0xb)
warning: Cuda API error detected: cudaGetLastError returned (0xb)
Error in kernel
GPUassert: invalid argument
当我“其中”在CUDA-GDB型,它说“没有堆栈”。
(cuda-gdb) where
No stack.
如何找到我的程序崩溃的地方?