Go to the source code of this file.
|
#define | checkRuntime(call) check_runtime(call, #call, __LINE__, __FILE__) |
|
#define | CUOSD_PRINT_E(f_, ...) fprintf(stderr, "[cuOSD Error] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__) |
|
#define | CUOSD_PRINT_W(f_, ...) printf("[cuOSD Warning] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__) |
|
|
static bool | check_runtime (cudaError_t e, const char *call, int line, const char *file) |
|
◆ checkRuntime
#define checkRuntime |
( |
|
call | ) |
check_runtime(call, #call, __LINE__, __FILE__) |
◆ CUOSD_PRINT_E
#define CUOSD_PRINT_E |
( |
|
f_, |
|
|
|
... |
|
) |
| fprintf(stderr, "[cuOSD Error] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__) |
◆ CUOSD_PRINT_W
#define CUOSD_PRINT_W |
( |
|
f_, |
|
|
|
... |
|
) |
| printf("[cuOSD Warning] at %s:%d : " f_, (const char*)__FILE__, __LINE__, ##__VA_ARGS__) |
◆ check_runtime()
static bool check_runtime |
( |
cudaError_t |
e, |
|
|
const char * |
call, |
|
|
int |
line, |
|
|
const char * |
file |
|
) |
| |
|
inlinestatic |