Debug
#
- cudaError_t cub::Debug(
- cudaError_t error,
- const char *filename,
- int line,
If
CUB_STDERR
is defined anderror
is notcudaSuccess
, the corresponding error message is printed tostderr
(orstdout
in device code) along with the supplied source context.- Returns:
The CUDA error.