ggml : change immintrin.h to intrin.h for compatibility (#1307)

* change immintrin.h to intrin.h for compatibility

Building on windows11 arm throws an error on this line. Seems like using intrin.h covers x86 and and arm

* conditional def of intrin.h

* fix typo in ggml.c
pull/1321/head master-20fbf2a
Ron Jailall 1 year ago committed by GitHub
parent db1080876a
commit 20fbf2a2a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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__

Loading…
Cancel
Save