Skip to content

Commit bea458c

Browse files
authored
ENH: Convert logical from C universal intrinsics to C++ using Highway (numpy#28480)
* ENH: Convert logical from C universal intrinsics to C++ using Highway * fix compile error * fix compile error [2] * fix compile error [3] * convert the C styles to C++ templates * fix compile error [4] * fix compile error [5] * Optimize code * Optimize code * fix compile error [6] * ENH: Convert logical from C universal intrinsics to C++ using Highway
1 parent 584a5cf commit bea458c

File tree

3 files changed

+413
-378
lines changed

3 files changed

+413
-378
lines changed

numpy/_core/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,13 +941,14 @@ foreach gen_mtargets : [
941941
],
942942
[
943943
'loops_logical.dispatch.h',
944-
src_file.process('src/umath/loops_logical.dispatch.c.src'),
944+
'src/umath/loops_logical.dispatch.cpp',
945945
[
946946
ASIMD, NEON,
947947
AVX512_SKX, AVX2, SSE2,
948948
VSX2,
949949
VX,
950950
LSX,
951+
RVV,
951952
]
952953
],
953954
[

numpy/_core/src/umath/loops_logical.dispatch.c.src

Lines changed: 0 additions & 377 deletions
This file was deleted.

0 commit comments

Comments
 (0)