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 30b49b1 commit 550b20eCopy full SHA for 550b20e
dpctl/utils/CMakeLists.txt
@@ -16,9 +16,11 @@ add_custom_target(_dpctl4pybind11_header_ready
16
)
17
18
set(python_module_name _device_queries)
19
+set(_module_src ${CMAKE_CURRENT_SOURCE_DIR}/src/device_queries.cpp)
20
pybind11_add_module(${python_module_name} MODULE
- ${CMAKE_CURRENT_SOURCE_DIR}/src/device_queries.cpp
21
+ ${_module_src}
22
23
+add_sycl_to_target(TARGET ${python_module_name} SOURCES ${_module_src})
24
target_include_directories(${python_module_name}
25
PRIVATE
26
${CMAKE_CURRENT_SOURCE_DIR}/../include
0 commit comments