File tree Expand file tree Collapse file tree 3 files changed +2941
-2911
lines changed Expand file tree Collapse file tree 3 files changed +2941
-2911
lines changed Original file line number Diff line number Diff line change @@ -620,7 +620,8 @@ if (LLAMA_SYCL)
620
620
endif ()
621
621
622
622
set (GGML_HEADERS_SYCL ggml-sycl.h )
623
- set (GGML_SOURCES_SYCL ggml-sycl.cpp )
623
+ file (GLOB GGML_SOURCES_SYCL "ggml-sycl.cpp" )
624
+ # list(APPEND GGML_SOURCES_SYCL "ggml-sycl/*.cpp")
624
625
625
626
if (WIN32 )
626
627
set (LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} -fsycl sycl7 OpenCL mkl_sycl_blas_dll.lib mkl_intel_ilp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib )
@@ -1255,7 +1256,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/LlamaConfig.cmake
1255
1256
DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/Llama )
1256
1257
1257
1258
set (GGML_PUBLIC_HEADERS "ggml.h" "ggml-alloc.h" "ggml-backend.h"
1258
- "${GGML_HEADERS_CUDA} " "${GGML_HEADERS_OPENCL} "
1259
+ "${GGML_HEADERS_CUDA} " "${GGML_HEADERS_OPENCL} " " ${GGML_HEADERS_SYCL} "
1259
1260
"${GGML_HEADERS_METAL} " "${GGML_HEADERS_MPI} " "${GGML_HEADERS_EXTRA} " )
1260
1261
1261
1262
set_target_properties (ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS} " )
You can’t perform that action at this time.
0 commit comments