Sparse matrix‐vector and matrix‐multivector products for the truncated SVD on graphics processors
- Depto. de Ingeniería y Ciencia de Computadores Universitat Jaume I Castellón de la Plana Spain
- Steinbuch Centre for Computing Karlsruhe Institute of Technology Karlsruhe Germany, Innovative Computing Lab University of Tennessee Knoxville (Tennessee) USA
- Depto. de Informática de Sistemas y Computadores Universitat Politècnica de València Valencia Spain
- Depto. de Ingeniería y Ciencia de Computadores Universitat Jaume I Castellón de la Plana Spain, Depto. de Informática Universitat de València Valencia Spain
Many practical algorithms for numerical rank computations implement an iterative procedure that involves repeated multiplications of a vector, or a collection of vectors, with both a sparse matrix and its transpose. Unfortunately, the realization of these sparse products on current high performance libraries often deliver much lower arithmetic throughput when the matrix involved in the product is transposed. In this work, we propose a hybrid sparse matrix layout, named CSRC, that combines the flexibility of some well‐known sparse formats to offer a number of appealing properties: (1) CSRC can be obtained at low cost from the popular CSR (compressed sparse row) format; (2) CSRC has similar storage requirements as CSR; and especially, (3) the implementation of the sparse product kernels delivers high performance for both the direct product and its transposed variant on modern graphics accelerators thanks to a significant reduction of atomic operations compared to a conventional implementation based on CSR. This solution thus renders considerably higher performance when integrated into an iterative algorithm for the truncated singular value decomposition (SVD), such as the randomized SVD or, as demonstrated in the experimental results, the block Golub–Kahan–Lanczos algorithm.
- Sponsoring Organization:
- USDOE
- OSTI ID:
- 1993862
- Alternate ID(s):
- OSTI ID: 1995857
- Journal Information:
- Concurrency and Computation. Practice and Experience, Journal Name: Concurrency and Computation. Practice and Experience Journal Issue: 28 Vol. 35; ISSN 1532-0626
- Publisher:
- Wiley Blackwell (John Wiley & Sons)Copyright Statement
- Country of Publication:
- United Kingdom
- Language:
- English
Similar Records
Fast truncated SVD of sparse and dense matrices on graphics processors