Skip to content

Commit b0923f0

Browse files
oleksandr-pavlykantonwolfy
authored andcommitted
Tweaked compiler options used.
Removed linker option -fsycl-device-code-split=per_kernel option from CFLAGS, added SDL mandated -fwrapv
1 parent b002153 commit b0923f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/backend/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ endif()
9191
# SYCL related compile options
9292
string(CONCAT COMMON_COMPILE_FLAGS
9393
"-fsycl "
94-
"-fsycl-device-code-split=per_kernel "
9594
"-fno-approx-func "
9695
"-fno-finite-math-only "
9796
)
@@ -173,6 +172,7 @@ if(NOT WIN32)
173172
"-fno-delete-null-pointer-checks "
174173
"-fstack-protector-strong "
175174
"-fno-strict-overflow "
175+
"-fwrapv "
176176
)
177177
string(APPEND COMMON_LINK_FLAGS
178178
"LINKER:-z,noexecstack,-z,relro,-z,now "

0 commit comments

Comments
 (0)