ggml : fix some build issues

This commit is contained in:
slaren authored and Georgi Gerganov committed 2024-11-15 21:45:32 +02:00
1 parent 09ecbcb596
commit 883d206fbd
2 files changed
+12 -4

No files matched your search

+8
View File
@@ -49,6 +49,14 @@
#define UNUSED GGML_UNUSED
#if defined(_MSC_VER)
#define m512bh(p) p
#define m512i(p) p
#else
#define m512bh(p) (__m512bh)(p)
#define m512i(p) (__m512i)(p)
#endif
// precomputed f32 table for f16 (256 KB) (ggml-impl.h)
float ggml_table_f32_f16[1 << 16];