Debugging and logging functionality.
More...
#include <stdio.h>
Go to the source code of this file.
|
__host__ CUTLASS_DEVICE cudaError_t | cutlass::cuda_perror_impl (cudaError_t error, const char *filename, int line) |
| The corresponding error message is printed to stderr (or stdout in device code) along with the supplied source context. More...
|
|
#define CUDA_LOG |
( |
|
format, |
|
|
|
... |
|
) |
| printf(format, __VA_ARGS__) |
Formats and prints the given message to stdout
#define CUDA_LOG_DEBUG |
( |
|
format, |
|
|
|
... |
|
) |
| |
Formats and prints the given message to stdout only if DEBUG is defined
#define CUDA_PERROR_DEBUG |
( |
|
e | ) |
(e) |
#define CUDA_PERROR_EXIT |
( |
|
e | ) |
|