Skip to content

Commit

Permalink
-fsycl-device-code-split=per_kernel must be passed to linker per comp…
Browse files Browse the repository at this point in the history
…iler team (#799)
  • Loading branch information
oleksandr-pavlyk authored Mar 24, 2022
1 parent f469af2 commit a20344b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpctl/tensor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set(python_module_name _tensor_impl)
pybind11_add_module(${python_module_name} MODULE
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/tensor_py.cpp
)
target_compile_options(${python_module_name} PRIVATE -fsycl-device-code-split=per_kernel)
target_link_options(${python_module_name} PRIVATE -fsycl-device-code-split=per_kernel)
target_include_directories(${python_module_name}
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/../include
Expand Down

0 comments on commit a20344b

Please sign in to comment.