aboutsummaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ggml.c b/ggml.c
index 0bcb5f6..4d49242 100644
--- a/ggml.c
+++ b/ggml.c
@@ -180,9 +180,13 @@ typedef double ggml_float;
#undef bool
#define bool _Bool
#else
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#include <intrin.h>
+#else
#include <immintrin.h>
#endif
#endif
+#endif
#ifdef __F16C__