diff --git a/crates/specialized/rtx-cfd/src/kernels/cuda/reduction.cu b/crates/specialized/rtx-cfd/src/kernels/cuda/reduction.cu index a3c20cf..fbd151a 100644 --- a/crates/specialized/rtx-cfd/src/kernels/cuda/reduction.cu +++ b/crates/specialized/rtx-cfd/src/kernels/cuda/reduction.cu @@ -1,3 +1,6 @@ +#ifndef FLT_MAX +#define FLT_MAX 3.402823466e+38f +#endif /** * CUDA kernels for reduction operations * @@ -10,7 +13,6 @@ */ // (no host headers: NVRTC compiles these as device code with the built-ins only) -#include // Warp size constant #define WARP_SIZE 32