Skip to content

Commit e2d9640

Browse files
Merge pull request #1531 from IntelPython/add-no-fast-math-sources
Add to source files compiled with no-fast-math
2 parents c578614 + ae73692 commit e2d9640

File tree

9 files changed

+484
-406
lines changed

9 files changed

+484
-406
lines changed

dpctl/tensor/CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ set(_elementwise_sources
106106
)
107107
set(_reduction_sources
108108
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/reduction_common.cpp
109+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/all.cpp
110+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/any.cpp
109111
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/argmax.cpp
110112
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/argmin.cpp
111113
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/logsumexp.cpp
@@ -115,9 +117,6 @@ set(_reduction_sources
115117
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/reduce_hypot.cpp
116118
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/reductions/sum.cpp
117119
)
118-
set(_boolean_reduction_sources
119-
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/boolean_reductions.cpp
120-
)
121120
set(_sorting_sources
122121
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/sorting/sort.cpp
123122
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/sorting/argsort.cpp
@@ -149,7 +148,6 @@ set(_tensor_elementwise_impl_sources
149148
set(_tensor_reductions_impl_sources
150149
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/tensor_reductions.cpp
151150
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/simplify_iteration_space.cpp
152-
${_boolean_reduction_sources}
153151
${_reduction_sources}
154152
)
155153
set(_tensor_sorting_impl_sources
@@ -199,9 +197,11 @@ if (WIN32)
199197
endif()
200198

201199
set(_no_fast_math_sources
200+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/copy_and_cast_usm_to_usm.cpp
202201
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/full_ctor.cpp
203202
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/linear_sequences.cpp
204203
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/clip.cpp
204+
${CMAKE_CURRENT_SOURCE_DIR}/libtensor/source/where.cpp
205205
)
206206
list(APPEND _no_fast_math_sources
207207
${_elementwise_sources}

dpctl/tensor/libtensor/source/boolean_reductions.hpp

-312
This file was deleted.

0 commit comments

Comments
 (0)