Skip to content

Commit 88899ab

Browse files
committed
Add sanitize option
1 parent 08b6b67 commit 88899ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/backend/extensions/statistics/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ else()
8080
-fno-approx-func
8181
-fno-finite-math-only
8282
)
83+
target_compile_options(${python_module_name} PUBLIC -fsanitize=address)
84+
target_link_options(${python_module_name} PUBLIC -fsanitize=address)
8385
endif()
8486

8587
target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)

0 commit comments

Comments
 (0)