We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228df2b commit fb8f142Copy full SHA for fb8f142
ggml/src/CMakeLists.txt
@@ -574,7 +574,7 @@ if (GGML_SYCL)
574
if (GGML_SYCL_TARGET STREQUAL "INTEL")
575
list(APPEND GGML_EXTRA_LIBS OpenCL mkl_core pthread m dl mkl_sycl_blas mkl_intel_ilp64 mkl_tbb_thread)
576
elseif (GGML_SYCL_TARGET STREQUAL "NVIDIA")
577
- list(APPEND CMAKE_CXX_FLAGS -fsycl-targets=nvptx64-nvidia-cuda)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl-targets=nvptx64-nvidia-cuda")
578
list(APPEND GGML_EXTRA_LIBS pthread m dl onemkl)
579
endif()
580
0 commit comments