Efficient GPU-Centered Singular Value Decomposition Using the Divide-and-Conquer Method
Singular Value Decomposition (SVD) is a fundamental matrix factorization technique in linear algebra, widely applied in numerous matrix-related problems. However, traditional SVD approaches are hindered by slow panel factorization and frequent CPU-GPU data transfers in heterogeneous systems, despite advancements in GPU computational capabilities. In this article, we introduce a GPU-centered SVD algorithm, incorporating a novel GPU-based bidiagonal divide-and-conquer (BDC) method. We reformulate the algorithm and data layout of different steps for SVD computation, performing all panel-level computations and trailing matrix updates entirely on GPU to eliminate CPU-GPU data transfers. Furthermore, we integrate related computations to optimize BLAS utilization, thereby increasing arithmetic intensity and fully leveraging the computational capabilities of GPUs. Additionally, we introduce a newly developed GPU-based BDC algorithm that restructures the workflow to eliminate matrix-level CPU-GPU data transfers and enable asynchronous execution between the CPU and GPU. Experimental results on AMD MI210 and NVIDIA V100 GPUs demonstrate that our proposed method achieves speedups of up to 1293.64x/7.47x and 14.10x/12.38x compared with rocSOLVER/cuSOLVER and MAGMA, respectively.
Authors
- Huiyuan Li (ORCID: https://orcid.org/0000-0002-6326-9926)
- Xiaoyu Zhang (ORCID: https://orcid.org/0000-0002-3671-123X)
- Shifang Liu
- H. Y. Sheng
- Hong-yu Gui (ORCID: https://orcid.org/0000-0002-1218-7920)
Institutions
- Institute of Software (CN)
- University of Chinese Academy of Sciences (CN)
- State Key Laboratory of Computer Science
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-09-01
- DOI
- https://doi.org/10.1145/3764932
- Primary Topic
- Computer Graphics and Visualization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Chinese Academy of Sciences
- Institute of Software, Chinese Academy of Sciences