CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Namespaces | Macros | Functions
util_debug.cuh File Reference
#include <stdio.h>
#include "util_namespace.cuh"
#include "util_arch.cuh"

Namespaces

 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) More...
 

Detailed Description

Error and event logging routines.

The following macros definitions are supported: