|
CUB
|
#include <stdio.h>#include "ns_wrapper.cuh"#include "device_props.cuh"Namespaces | |
| namespace | cub |
| CUB namespace. | |
Macros | |
| #define | CubDebug(f) cub::Debug(f, __FILE__, __LINE__) |
| #define | CubDebugExit(f) if (cub::Debug(f, __FILE__, __LINE__)) exit(1) |
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... | |
Debug error display routines
| #define CubDebug | ( | f | ) | cub::Debug(f, __FILE__, __LINE__) |
Debug macro
| #define CubDebugExit | ( | f | ) | if (cub::Debug(f, __FILE__, __LINE__)) exit(1) |
Debug macro with exit
1.8.3.1