Skip to content

Commit b49744a

Browse files
Debug: Set -H when compiling elementwise_functions.cpp
1 parent 049b523 commit b49744a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (WIN32)
5353
endif()
5454
set_source_files_properties(
5555
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/elementwise_functions.cpp
56-
PROPERTIES COMPILE_OPTIONS "${_clang_prefix}-fno-approx-func;${_clang_prefix}-fno-finite-math-only")
56+
PROPERTIES COMPILE_OPTIONS "${_clang_prefix}-fno-fast-math;-H")
5757
target_compile_options(${python_module_name} PRIVATE -fno-sycl-id-queries-fit-in-int)
5858
target_link_options(${python_module_name} PRIVATE -fsycl-device-code-split=per_kernel)
5959
if(UNIX)

0 commit comments

Comments
 (0)