chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:36:30 +08:00
commit 55ab4e4a73
473 changed files with 72932 additions and 0 deletions
+23
View File
@@ -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