Skip to content

Commit 2c4ee08

Browse files
Use -fno-fast-math to ensure that device code uses accurate transcendentals (#1157)
1 parent 0fc7017 commit 2c4ee08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpnp/backend/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
113113
# SYCL related compile options
114114
add_compile_options(-fsycl)
115115
add_compile_options(-fsycl-device-code-split=per_kernel)
116+
add_compile_options(-fno-fast-math)
116117
add_link_options(-fsycl)
117118
add_link_options(-fsycl-device-code-split=per_kernel)
118119

0 commit comments

Comments
 (0)