Files
2026-07-13 12:36:30 +08:00

23 lines
442 B
C

#pragma once
#include "err.h"
#define EG_DOUBLE_INF 1e100
#define EXIT_IF_CUDA_FAILED(condition) \
cuda_ret = condition; \
if (cuda_ret != cudaSuccess) { \
goto exit; \
} \
#ifndef _IN_
#define _IN_
#endif
#ifndef _OUT_
#define _OUT_
#endif
#ifndef _BUFFER_
#define _BUFFER_
#endif