Recursive Vectorized Computation of the Vector <i>p</i> -norm
Recursive algorithms for computing the Frobenius norm of a real array are proposed, based on [Formula: see text], a hypotenuse function. Comparing their relative accuracy bounds with those of the BLAS routine [Formula: see text] it is shown that the proposed algorithms could in many cases be significantly more accurate. The scalar recursive algorithms are vectorized with the Intel’s vector instructions to achieve performance comparable to [Formula: see text], and are further parallelized with OpenCilk. Some scalar algorithms are unconditionally bitwise reproducible, while the reproducibility of the vector ones depends on the vector width. A modification of the proposed algorithms to compute the vector [Formula: see text]-norm is also presented.
Authors
- Vedran Novaković
Institutions
- Croatian Chamber of Economy (HR)
Publication Details
- Journal
- Parallel Processing Letters
- Published
- 2026-02-12
- DOI
- https://doi.org/10.1142/s0129626426500027
- Primary Topic
- Interconnection Networks and Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00