Skip to content

Commit 475a9f2

Browse files
committed
Add several missing source files to _no_fast_math_sources
Adds copy_and_cast_usm_to_usm.cpp, where.cpp, and _boolean_reduction_sources to _no_fast_math_sources This is intended to fix discrepancies with NaNs on CUDA backend
1 parent c578614 commit 475a9f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dpctl/tensor/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,18 @@ if (WIN32)
199199
endif()
200200

201201
set(_no_fast_math_sources
202+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_and_cast_usm_to_usm.cpp
202203
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/full_ctor.cpp
203204
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/linear_sequences.cpp
204205
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/clip.cpp
206+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/where.cpp
205207
)
206208
list(APPEND _no_fast_math_sources
207209
${_elementwise_sources}
208210
${_reduction_sources}
209211
${_sorting_sources}
210212
${_linalg_sources}
213+
${_boolean_reduction_soruces}
211214
)
212215

213216
foreach(_src_fn ${_no_fast_math_sources})

0 commit comments

Comments
 (0)