We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cdfc4e commit 0cbef75Copy full SHA for 0cbef75
ggml.c
@@ -143,12 +143,6 @@ void ggml_print_backtrace(void) {
143
}
144
#endif
145
146
-#undef MIN
147
-#undef MAX
148
-
149
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
150
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
151
152
/*#define GGML_PERF*/
153
#define GGML_DEBUG 0
154
#define GGML_GELU_FP16
@@ -277,6 +271,12 @@ inline static void * ggml_aligned_malloc(size_t size) {
277
271
// floating point type used to accumulate sums
278
272
typedef double ggml_float;
279
273
274
+#undef MIN
275
+#undef MAX
276
+
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
280
//
281
// global data
282
0 commit comments