Просмотр исходного кода

ggml : resolve merge (ggml/0)

ggml-ci
Georgi Gerganov 1 год назад
Родитель
Сommit
325756d28d
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      ggml.c

+ 4 - 1
ggml.c

@@ -4,7 +4,6 @@
 #include "ggml-impl.h"
 #include "ggml-quants.h"
 #include "ggml.h"
-#include "sgemm.h"
 
 #if defined(_MSC_VER) || defined(__MINGW32__)
 #include <malloc.h> // using malloc.h with MSC/MINGW
@@ -37,6 +36,10 @@
 #undef GGML_USE_LLAMAFILE
 #endif
 
+#ifdef GGML_USE_LLAMAFILE
+#include "sgemm.h"
+#endif
+
 #if defined(_MSC_VER)
 // disable "possible loss of data" to avoid hundreds of casts
 // we should just be careful :)