We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ecbcb commit ef7571fCopy full SHA for ef7571f
Makefile
@@ -938,6 +938,7 @@ ggml/src/ggml-cuda/%.o: \
938
ggml/src/ggml-common.h \
939
ggml/src/ggml-cuda/common.cuh
940
$(MCC) $(CXXFLAGS) $(MUSAFLAGS) -x musa -mtgpu -c -o $@ $<
941
+
942
endif # GGML_MUSA
943
944
ifndef GGML_NO_CPU_AARCH64
ggml/src/ggml.c
@@ -49,6 +49,14 @@
49
50
#define UNUSED GGML_UNUSED
51
52
+#if defined(_MSC_VER)
53
+#define m512bh(p) p
54
+#define m512i(p) p
55
+#else
56
+#define m512bh(p) (__m512bh)(p)
57
+#define m512i(p) (__m512i)(p)
58
+#endif
59
60
// precomputed f32 table for f16 (256 KB) (ggml-impl.h)
61
float ggml_table_f32_f16[1 << 16];
62
0 commit comments