chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user