From 1ea68ab4950cf5378bb3f95c7b5962fbebedeaa8 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 8 Mar 2024 17:43:42 +0200 Subject: [PATCH] sycl : try to fix build --- ggml-sycl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ggml-sycl.cpp b/ggml-sycl.cpp index dd9c50662..6fafa5282 100644 --- a/ggml-sycl.cpp +++ b/ggml-sycl.cpp @@ -36,9 +36,6 @@ #include "ggml.h" #include "ggml-backend-impl.h" -#define GGML_COMMON_IMPL_SYCL -#include "ggml-common.h" - /* Following definition copied from DPCT head files, which are used by ggml-sycl.cpp */ @@ -3147,6 +3144,8 @@ namespace dpct } // COPY from DPCT head files +#define GGML_COMMON_IMPL_SYCL +#include "ggml-common.h" static int g_ggml_sycl_debug=0; #define GGML_SYCL_DEBUG(...) do{if(g_ggml_sycl_debug) printf(__VA_ARGS__);}while(0)