TGSTK
0.0.1
The Tumour Growth Simulation ToolKit
Macros
tgstkCUDACommon.h File Reference
#include <stdio.h>
Go to the source code of this file.
Macros
#define
CUDA_CHECK
(call)
Macro Definition Documentation
◆
CUDA_CHECK
#define CUDA_CHECK
(
call
)
Value:
{ \
\
const cudaError_t error = call; \
\
if (error != cudaSuccess) { \
\
fprintf(stderr,
"Error: %s:%d, "
, __FILE__, __LINE__); \
fprintf(stderr,
"Code: %d, reason: %s\n"
, error, cudaGetErrorString(error)); \
} \
}
src
tgstk
cuda
tgstkCUDACommon.h
Generated by
1.8.17