diff --git a/ggml/src/ggml-cuda/getrows.cu b/ggml/src/ggml-cuda/getrows.cu index 3b8d8f87b0..db9a4915cb 100644 --- a/ggml/src/ggml-cuda/getrows.cu +++ b/ggml/src/ggml-cuda/getrows.cu @@ -2,7 +2,6 @@ #include "dequantize.cuh" #include "convert.cuh" -#define MIN(a, b) (a) < (b) ? (a) : (b) #define MAX_GRIDDIM_Y 65535 template diff --git a/ggml/src/ggml-cuda/scale.cu b/ggml/src/ggml-cuda/scale.cu index bfc03d218d..0ddeff6a17 100644 --- a/ggml/src/ggml-cuda/scale.cu +++ b/ggml/src/ggml-cuda/scale.cu @@ -1,6 +1,5 @@ #include "scale.cuh" -#define MIN(a, b) (a) < (b) ? (a) : (b) #define MAX_GRIDDIM_X 0x7FFFFFFF static __global__ void scale_f32(const float * x, float * dst, const float scale, const float bias, const int64_t nelements) {