diff options
Diffstat (limited to 'ggml-impl.h')
-rw-r--r-- | ggml-impl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ggml-impl.h b/ggml-impl.h index 59684fa8..5ff014fe 100644 --- a/ggml-impl.h +++ b/ggml-impl.h @@ -17,6 +17,18 @@ #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) +#if defined(_WIN32) + +#define m512bh(p) p +#define m512i(p) p + +#else + +#define m512bh(p) (__m512bh)(p) +#define m512i(p) (__m512i)(p) + +#endif + /** * Converts brain16 to float32. * |