File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ if (WIN32
2+ AND ITLABAI_SYCL_IMPLEMENTATION STREQUAL "IntelLLVM"
3+ AND ITLABAI_SYCL_ROOT
4+ AND EXISTS "${ITLABAI_SYCL_ROOT} /bin/clang++.exe" )
5+ set (CMAKE_CXX_LINK_EXECUTABLE
6+ "\" ${ITLABAI_SYCL_ROOT} /bin/clang++.exe\" <CMAKE_CXX_LINK_FLAGS> "
7+ "<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>" )
8+ endif ()
9+
110add_executable (SYCL_Example
211 sycl_example.cpp
312)
@@ -36,10 +45,10 @@ if(WIN32 AND ITLABAI_SYCL_IMPLEMENTATION STREQUAL "IntelLLVM")
3645 "to point to the runtime import library" )
3746 endif ()
3847
39- target_link_options (SYCL_Example PRIVATE /clang: -fsycl )
48+ target_link_options (SYCL_Example PRIVATE -fsycl )
4049 if (ITLABAI_SYCL_TARGETS)
4150 target_link_options (SYCL_Example PRIVATE
42- /clang: -fsycl-targets=${ITLABAI_SYCL_TARGETS}
51+ -fsycl-targets=${ITLABAI_SYCL_TARGETS}
4352 )
4453 endif ()
4554
You can’t perform that action at this time.
0 commit comments