Debug#

cudaError_t cub::Debug(
cudaError_t error,
const char *filename,
int line,
)#

If CUB_STDERR is defined and error is not cudaSuccess, the corresponding error message is printed to stderr (or stdout in device code) along with the supplied source context.

Returns:

The CUDA error.