File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -510,10 +510,10 @@ if (GGML_SYCL)
510510 set (GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} IntelSYCL::SYCL_CXX MKL::MKL MKL::MKL_SYCL)
511511 else ()
512512 if (GGML_SYCL_TARGET STREQUAL "INTEL" )
513- set (GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} OpenCL mkl_core pthread m dl mkl_sycl_blas mkl_intel_ilp64 mkl_tbb_thread)
513+ set (GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} -fsycl OpenCL mkl_core pthread m dl mkl_sycl_blas mkl_intel_ilp64 mkl_tbb_thread)
514514 elseif (GGML_SYCL_TARGET STREQUAL "NVIDIA" )
515515 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl-targets=nvptx64-nvidia-cuda" )
516- set (GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} pthread m dl onemkl)
516+ set (GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} -fsycl pthread m dl onemkl)
517517 endif ()
518518 endif ()
519519endif ()
You can’t perform that action at this time.
0 commit comments