Skip to content

Commit 6f44d42

Browse files
Split device code per kernel
1 parent 52773aa commit 6f44d42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/pybind11/onemkl_gemv/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ set_source_files_properties(${_sycl_gemm_sources}
5353
PROPERTIES
5454
COMPILE_OPTIONS "-O3"
5555
)
56+
target_link_options(${py_module_name} PRIVATE -fsycl-device-code-split=per_kernel)
5657

5758
add_executable(standalone_cpp
5859
EXCLUDE_FROM_ALL

0 commit comments

Comments
 (0)