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 1cdb8ed commit e734855Copy full SHA for e734855
1 file changed
app/SYCL/CMakeLists.txt
@@ -36,6 +36,13 @@ 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()
45
+
46
set(SYCL_EXAMPLE_KERNEL_OBJECT
47
"${CMAKE_CURRENT_BINARY_DIR}/SYCL_Example.sycl_kernel.obj")
48
set(SYCL_KERNEL_COMPILE_COMMAND
0 commit comments