CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Host Utilities

Functions

__host__ __device__
__forceinline__ cudaError_t 
cub::Debug (cudaError_t error, const char *message, const char *filename, int line)
 If CUB_STDERR is defined and error is not cudaSuccess, message is printed to stderr along with the supplied source context. More...
 
__host__ __device__
__forceinline__ 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 along with the supplied source context. More...
 

Function Documentation

__host__ __device__ __forceinline__ cudaError_t cub::Debug ( cudaError_t  error,
const char *  message,
const char *  filename,
int  line 
)

If CUB_STDERR is defined and error is not cudaSuccess, message is printed to stderr along with the supplied source context.

Returns
The CUDA error.
__host__ __device__ __forceinline__ 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 along with the supplied source context.

Returns
The CUDA error.