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

Add missing header for memcpy (#386)

fixed: memcpy is not defined
Yusuf Kağan Hanoğlu 2 лет назад
Родитель
Сommit
d5850c53ca
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      llama.cpp

+ 1 - 0
llama.cpp

@@ -9,6 +9,7 @@
 #include <queue>
 #include <regex>
 #include <cassert>
+#include <cstring>
 
 // determine number of model parts based on the dimension
 static const std::unordered_map<int, int> LLAMA_N_PARTS = {