Build fix for Arm SVE (invalid template arg on op)

PiperOrigin-RevId: 854110884
This commit is contained in:
Jan Wassenberg 2026-01-09 02:55:28 -08:00 committed by Copybara-Service
parent 95592a574e
commit 6d43d6ee19
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ static VF4 HWY_INLINE Reduce4(DF df, VF x_0, VF x_1, VF x_2, VF x_3,
constexpr size_t kMaxLanes = hn::MaxLanes(df);
HWY_LANES_CONSTEXPR size_t kLanes = hn::Lanes(df);
HWY_ALIGN T x_transposed[4 * kMaxLanes];
hn::StoreInterleaved4<DF>(x_0, x_1, x_2, x_3, df, x_transposed);
hn::StoreInterleaved4(x_0, x_1, x_2, x_3, df, x_transposed);
VF4 result = hn::Load(df4, x_transposed);
for (int i = 1; i < kLanes; ++i) {
result = reducer(result, hn::Load(df4, x_transposed + i * 4));