Parallel Block Jacobi SVD with Variable Column Partitioning
Abstract
Parallel one-sided Jacobi methods for the singular value decomposition (SVD) organize column orthogonalizations into sweeps of parallel stages, with each sweep covering every column pair. Conventional block Jacobi methods guarantee this coverage by visiting every pair of blocks in a fixed column partition, at the cost of repeatedly processing within-block column pairs. We introduce variable partitioning, in which the column groups change between stages and are still processed as blocks. It repeats fewer column pairs and gives sweeps with nearly half as many stages as conventional fixed-partition schedules, attaining the minimum possible stage count in several parameter ranges. We implement these schedules in AG-OSBJ, a double-precision GPU solver. Experiments show that the shorter sweeps generally require a similar number of sweeps to converge, reducing the total number of stages to convergence in 1320 of 1326 matched runs. Dynamic block ordering can further reduce the stage count for small matrices, but its advantage diminishes with matrix size, and it needs many more inner Jacobi sweeps and scheduling work before every stage. On an NVIDIA H200 NVL, AG-OSBJ achieves median speedups of 1.6 to 2.0 over fixed partitioning with round-robin scheduling. It is at least 3.7 times faster than cuSOLVER's Jacobi routine gesvdj, faster than gesvd on nearly every test matrix, and faster than gesvdp on most matrices up to order 2048. Its errors are close to roundoff level, and it computes the singular values of strongly column-graded matrices to high relative accuracy.
Create a lesson
Metadata
- Categories
- math.NA, cs.DC, cs.NA
- Comments
- 23 pages, 6 figures, 8 tables
Related papers
A partitioned BEM-FEM framework for fluid-structure interaction of flexible hydrofoils
Shared title terminologymath.NALuca Cattarossi, Max Firmbach, Matthias Mayr et al.
Quantum Block Encodings of Spectral Tau Discretizations for Partial Differential Equations
Shared title terminologymath.NAXinyu Liu, Kaifeng Bu, Xiangxiong Zhang
Parallel Newton--Krylov Methods for 3D Free-Surface Flows under Strong Capillarity: A Lagrange Multiplier Approach
Shared title terminologymath.NATyler Benkley, Simone Deparis
Matrix-Free Low-Order-Refined Preconditioning for Variable-Order Nonconforming de Rham Discretizations
Shared title terminologymath.NACe Qin
Variably Scaled RBF-RP for Scattered Data Approximation and Image Processing
Shared title terminologymath.NAFatemeh Pooladi, Maryam Mohammadi, Elisabeth Larsson
Toward Extreme-Scale Full-Wave Maxwell Simulation: Low-Dispersion Discretization and a Massively Parallel Three-Grid Solver
Shared title terminologymath.NAHuangxin Chen, Shubin Fu, Zixiao Zhao