Ver código fonte

tests : remove unused includes (ggml/0)

Georgi Gerganov 5 meses atrás
pai
commit
8b2483730f
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      tests/test-opt.cpp

+ 2 - 3
tests/test-opt.cpp

@@ -5,17 +5,16 @@
 #include "ggml-backend.h"
 #include "ggml-cpu.h"
 #include "ggml-opt.h"
-#include "../ggml/src/ggml-impl.h"
-#include "../common/common.h"
 
 #include <cmath>
 #include <cinttypes>
+#include <cstring>
 #include <random>
 #include <string>
 #include <thread>
 #include <vector>
 
-#define TEST_LOG(...)       GGML_LOG_DEBUG(__VA_ARGS__)
+#define TEST_LOG(...)       printf(__VA_ARGS__)
 
 static bool almost_equal(const double a, const double b, const double atol) {
     return fabs(a - b) < atol;