Batched computation of the singular value decompositions of order two by the AVX-512 vectorization

Vedran Novaković
5/15/2020
cs.MSmath.NA

Official code: venovako/VecKog (3 stars, C, MIT, last commit 2026-10-16).

Abstract

In this paper a vectorized algorithm for simultaneously computing up to eight singular value decompositions (SVDs, each of the form $A=UΣV^{\ast}$) of real or complex matrices of order two is proposed. The algorithm extends to a batch of matrices of an arbitrary length $n$, that arises, for example, in the annihilation part of the parallel Kogbetliantz algorithm for the SVD of a square matrix of order $2n$.

Show full abstract

The SVD algorithm for a single matrix of order two is derived first. It scales, in most instances error-free, the input matrix $A$ such that its singular values $Σ_{ii}$ cannot overflow whenever its elements are finite, and then computes the URV factorization of the scaled matrix, followed by the SVD of a non-negative upper-triangular middle factor. A vector-friendly data layout for the batch is then introduced, where the same-indexed elements of each of the input and the output matrices form vectors, and the algorithm's steps over such vectors are described. The vectorized approach is then shown to be about three times faster than processing each matrix in isolation, while slightly improving accuracy over the straightforward method for the $2\times 2$ SVD.

View on arXivView PDF

Code Implementations(1)

venovako/VecKogOfficial100%
MIT

The vectorized (AVX-512) batched singular value decomposition algorithm for matrices of order two.

30C, MakefileApr 6, 20201 months agoMIT
avx-512kogbetliantzsingular-value-decompositionsvdvectorization

Similar Papers

Cite this paper

@article{novakovi2020batched,
  title  = {Batched computation of the singular value decompositions of order two by the AVX-512 vectorization},
  author = {Vedran Novaković},
  year   = {2020},
  eprint = {2005.07403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.07403}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.07403.svg)](https://codeofpaper.com/paper/2005.07403)

Discussion