OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
util_debug.cuh File Reference
#include <stdio.h>
#include "util_namespace.cuh"
#include "util_arch.cuh"

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)
 

Detailed Description

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.