A Structure-Aware Irregular Blocking Method for Sparse LU Factorization
By: Zhen Hu , Dongliang Xiong , Kai Huang and more
Potential Business Impact:
Makes computer math problems solve much faster.
In sparse LU factorization, nonzero elements after symbolic factorization tend to distribute in diagonal and right-bottom region of sparse matrices. However, regular 2D blocking on this non-uniform distribution structure may lead to workload imbalance across blocks. Besides, existing matrix features fail to guide us effectively in blocking. In this paper, we propose a structure-aware irregular blocking method for numerical factorization. A novel diagonal block-based feature is introduced to effectively characterize the local nonzero distribution of sparse matrices. Based on this, we further propose an irregular blocking method that adjusts block sizes according to the local distribution of nonzeros. The strategy utilizes fine-grained blocks in dense regions and coarse-grained blocks in sparse regions, adequately balancing the nonzeros of blocks both within the same level and across levels in the dependency tree. Experiments demonstrate that, on a single NVIDIA A100 GPU, our proposed irregular blocking method achieves average speedups of 1.50x and 3.32x over PanguLU and the latest SuperLU_DIST, respectively. In addition, it achieves speedups of 1.40x and 3.84x over PanguLU and SuperLU_DIST on 4 NVIDIA A100 GPUs.
Similar Papers
Efficient In-Memory Acceleration of Sparse Block Diagonal LLMs
Hardware Architecture
Makes smart computer programs run faster on small devices.
HYLU: Hybrid Parallel Sparse LU Factorization
Hardware Architecture
Solves math problems on computers much faster.
HYLU: Hybrid Parallel Sparse LU Factorization
Hardware Architecture
Solves math problems on computers much faster.