Pipelined Dense Symmetric Eigenvalue Decomposition on Multi-GPU Architectures

Hansheng Wang, Ruiyi Zhan, Dajun Huang, Xingchen Liu, Qiao Li, Hancong Duan, Dingwen Tao, Guangming Tan, Shaoshuai ZhangarXiv 2025 · DOI

Introduction

Dense symmetric eigenvalue decomposition (EVD) is a cornerstone of modern scientific computing, particularly in fields like quantum chemistry and condensed matter physics. As problem sizes scale, researchers increasingly rely on multi-GPU clusters. However, traditional EVD implementations in industry-standard libraries like cuSOLVERMp and MAGMA often fail to utilize the full potential of modern hardware, frequently achieving less than 1.5% of peak theoretical performance. This inefficiency stems from strict sequential dependencies and high synchronization overheads. This paper presents a novel pipelined approach that achieves up to a 6.59× speedup by rethinking data distribution and task scheduling.

The Pipelined EVD Framework

The proposed method moves away from the traditional "stop-and-start" execution model toward a continuous pipeline. This transformation is built upon three key innovations.

1. Blockwise Data Distribution

Standard libraries typically employ block-cyclic distributions to ensure load balancing. However, this requires all GPUs to participate in every step, creating synchronization bottlenecks. By switching to a column-blockwise distribution, the authors enable a "pipeline" effect: as soon as one GPU completes its portion of the initial reduction, it can immediately begin the next stage without waiting for the entire matrix to be processed. To address potential load imbalances, the authors utilize adjustable block sizes, ensuring all GPUs complete their tasks simultaneously.

2. Reordered Computation Stages

In a conventional two-stage EVD, the Divide and Conquer (D&C) solver acts as a serial bottleneck that must complete before the final eigenvectors are calculated. The authors decouple this stage, moving the D&C computation to the CPU. This allows the GPU to proceed with the back-transformation tasks (BC-Back and SBR-Back) concurrently, eliminating a major stall in the pipeline.

Comparison of conventional sequential EVD vs. the proposed reordered workflow that enables task parallelism.

3. Overlapping and Pipelining

By combining blockwise distribution with stage reordering, the algorithm achieves significant overlap between CPU and GPU operations. This pipelining ensures that GPUs remain productive throughout the decomposition process, rather than idling during CPU-heavy or serial phases.

Execution timeline illustrating the overlapping of CPU and GPU tasks, where D&C is offloaded to the CPU to run in parallel with GPU-intensive back-transformations.

Communication-Avoiding Strategies

To further enhance performance, the authors implement a communication-avoiding Successive Band Reduction (SBR). Traditional methods store only the triangular half of the symmetric matrix to save memory. In contrast, this approach stores the full matrix on each GPU. While this doubles the floating-point operations (FLOPS), it drastically reduces inter-GPU communication—the primary bottleneck in modern multi-GPU systems. This "extra work" paradox proves that increasing computational load can lead to faster overall execution by eliminating slow data transfers.

Performance Evaluation

The pipelined algorithm was benchmarked against synthetic dense symmetric matrices ranging from $16,384^2$ to $98,304^2$ on NVIDIA A100 and H100 platforms.

  • Massive Speedups: The implementation delivered a mean speedup of 5.74× over cuSOLVERMp and 6.59× over MAGMA on A100 systems. On the newer H100 architecture, speedups reached up to 9.24×.
  • Scalability: The method demonstrated near-perfect weak scalability, maintaining constant execution time as problem size and GPU count increased proportionally. In contrast, baselines often showed "negative scaling" due to communication overhead.
  • Numerical Accuracy: Despite the aggressive reordering and pipelining, the solver maintained FP64 (double precision) numerical stability comparable to industry standards.

Conclusion

By prioritizing pipelining over strict synchronization and overlapping CPU/GPU tasks, this work sets a new performance benchmark for symmetric EVD on multi-GPU architectures. Future work will focus on scaling these techniques to thousands of GPUs and extending the pipelined model to non-symmetric Singular Value Decomposition (SVD).

Summary updated

BibTeX
@misc{wang2025pipelined,
  author = {Hansheng Wang and Ruiyi Zhan and Dajun Huang and Xingchen Liu and Qiao Li and Hancong Duan and Dingwen Tao and Guangming Tan and Shaoshuai Zhang},
  title = {{Pipelined Dense Symmetric Eigenvalue Decomposition on Multi-GPU Architectures}},
  year = {2025},
  eprint = {2511.16174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.16174},
}
Figure