We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa750c1 commit 5477041Copy full SHA for 5477041
ggml-impl.h
@@ -11,6 +11,12 @@
11
#include <string.h> // memcpy
12
#include <math.h> // fabsf
13
14
+#undef MIN
15
+#undef MAX
16
+
17
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
18
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
19
20
#ifdef __cplusplus
21
extern "C" {
22
#endif
ggml-quants.c
@@ -14,12 +14,6 @@
#include <stdlib.h> // for qsort
#include <stdio.h> // for GGML_ASSERT
-#undef MIN
-#undef MAX
-
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
23
#define UNUSED GGML_UNUSED
24
25
// some compilers don't provide _mm256_set_m128i, e.g. gcc 7
0 commit comments