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 e734855 commit d45abf3Copy full SHA for d45abf3
1 file changed
app/SYCL/CMakeLists.txt
@@ -36,12 +36,9 @@ if(WIN32 AND ITLABAI_SYCL_IMPLEMENTATION STREQUAL "IntelLLVM")
36
"to point to the runtime import library")
37
endif()
38
39
- set_property(SOURCE sycl_example.cpp APPEND PROPERTY COMPILE_OPTIONS -fsycl)
40
- if(ITLABAI_SYCL_TARGETS)
41
- set_property(SOURCE sycl_example.cpp APPEND PROPERTY
42
- COMPILE_OPTIONS -fsycl-targets=${ITLABAI_SYCL_TARGETS}
43
- )
44
- endif()
+ set_property(SOURCE sycl_example.cpp APPEND PROPERTY
+ COMPILE_OPTIONS -fsycl -fsycl-host-only
+ )
45
46
set(SYCL_EXAMPLE_KERNEL_OBJECT
47
"${CMAKE_CURRENT_BINARY_DIR}/SYCL_Example.sycl_kernel.obj")
0 commit comments