cub::Debug
Defined in cub/util_debug.cuh
-
cudaError_t cub::Debug(cudaError_t error, [[maybe_unused]] const char *filename, [[maybe_unused]] 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.