File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 3434 #define GPUError (...)
3535 #define GPUFatal (...)
3636#elif defined(GPUCA_STANDALONE) && !defined(GPUCA_GPUCODE_DEVICE) && !defined(GPUCA_NO_FMT)
37+ #include < cstdio>
3738 #include < fmt/printf.h>
3839 #define GPUInfo (string, ...) \
3940 { \
5455#elif defined(GPUCA_STANDALONE) || defined(GPUCA_GPUCODE_DEVICE) || (defined(GPUCA_ALIROOT_LIB) && defined(GPUCA_GPUCODE) && defined(__cplusplus) && __cplusplus < 201703L)
5556 // For standalone / CUDA / HIP, we just use printf, which should be available
5657 // Temporarily, we also have to handle CUDA on AliRoot with O2 defaults due to ROOT / CUDA incompatibilities
58+ #include < cstdio>
5759 #define GPUInfo (string, ...) \
5860 { \
5961 printf (string " \n " , ##__VA_ARGS__); \
Original file line number Diff line number Diff line change 1919#include < dlfcn.h>
2020#include < mutex>
2121#include < tuple>
22+ #include < stdexcept>
2223
2324using namespace GPUCA_NAMESPACE ::gpu;
2425
You can’t perform that action at this time.
0 commit comments