Go to the source code of this file.
Namespaces | |
namespace | cub |
Optional outer namespace(s) | |
Macros | |
#define | CubDebug(e) cub::Debug((cudaError_t) (e), __FILE__, __LINE__) |
Debug macro. | |
#define | CubDebugExit(e) if (cub::Debug((cudaError_t) (e), __FILE__, __LINE__)) { exit(1); } |
Debug macro with exit. | |
#define | _CubLog(format, ...) printf(format,__VA_ARGS__); |
Log macro for printf statements. | |
Functions | |
__host__ __device__ __forceinline__ cudaError_t | cub::Debug (cudaError_t error, const char *filename, int line) |
CUB error reporting macro (prints error messages to stderr) | |
Error and event logging routines.
The following macros definitions are supported:
CUB_LOG
. Simple event messages are printed to stdout
. Definition in file util_debug.cuh.