Skip to content

Commit 3e8f2da

Browse files
committed
Merge remote-tracking branch 'plct/upstream-highway' into plct-unary
2 parents b7c2d0e + 90d5f9a commit 3e8f2da

11 files changed

Lines changed: 1999 additions & 2069 deletions

numpy/_core/meson.build

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -920,13 +920,14 @@ umath_gen_headers = [
920920
foreach gen_mtargets : [
921921
[
922922
'loops_arithm_fp.dispatch.h',
923-
src_file.process('src/umath/loops_arithm_fp.dispatch.c.src'),
923+
src_file.process('src/umath/loops_arithm_fp.dispatch.cpp.src'),
924924
[
925925
[AVX2, FMA3], SSE2,
926926
ASIMD, NEON,
927927
VSX3, VSX2,
928928
VXE, VX,
929929
LSX,
930+
RVV,
930931
]
931932
],
932933
[
@@ -983,13 +984,14 @@ foreach gen_mtargets : [
983984
],
984985
[
985986
'loops_minmax.dispatch.h',
986-
src_file.process('src/umath/loops_minmax.dispatch.c.src'),
987+
'src/umath/loops_minmax.dispatch.cpp',
987988
[
988989
ASIMD, NEON,
989990
AVX512_SKX, AVX2, SSE2,
990991
VSX2,
991992
VXE, VX,
992993
LSX,
994+
RVV,
993995
]
994996
],
995997
[
@@ -1029,34 +1031,37 @@ foreach gen_mtargets : [
10291031
],
10301032
[
10311033
'loops_unary_fp.dispatch.h',
1032-
src_file.process('src/umath/loops_unary_fp.dispatch.c.src'),
1034+
'src/umath/loops_unary_fp.dispatch.cpp',
10331035
[
10341036
SSE41, SSE2,
10351037
VSX2,
10361038
ASIMD, NEON,
10371039
VXE, VX,
10381040
LSX,
1041+
RVV,
10391042
]
10401043
],
10411044
[
10421045
'loops_unary_fp_le.dispatch.h',
1043-
src_file.process('src/umath/loops_unary_fp_le.dispatch.c.src'),
1046+
'src/umath/loops_unary_fp_le.dispatch.cpp',
10441047
[
10451048
SSE41, SSE2,
10461049
VSX2,
10471050
ASIMD, NEON,
10481051
LSX,
1052+
RVV,
10491053
]
10501054
],
10511055
[
10521056
'loops_unary_complex.dispatch.h',
1053-
src_file.process('src/umath/loops_unary_complex.dispatch.c.src'),
1057+
'src/umath/loops_unary_complex.dispatch.cpp',
10541058
[
10551059
AVX512F, [AVX2, FMA3], SSE2,
10561060
ASIMD, NEON,
10571061
VSX3, VSX2,
10581062
VXE, VX,
10591063
LSX,
1064+
RVV,
10601065
]
10611066
],
10621067
[

0 commit comments

Comments
 (0)