From d5f7d364f6f8bb43b7a0c01587fc16bc194c3527 Mon Sep 17 00:00:00 2001 From: luoyu-intel Date: Thu, 18 Jan 2024 16:37:25 +0800 Subject: [PATCH] remove sycl version from include path --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d35568770..035c66c08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -460,7 +460,7 @@ if (LLAMA_SYCL) add_compile_definitions(GGML_USE_SYCL) add_compile_options(-I./) #include DPCT - add_compile_options(-I/${ONEAPI_ROOT}/2024.0/include) + add_compile_options(-I/${SYCL_INCLUDE_DIR}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wno-narrowing") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")