PARS3:基于Reverse Cuthill-McKee重排序的并行稀疏反对称矩阵-向量乘法
PARS3: Parallel Sparse Skew-Symmetric Matrix-Vector Multiplication with Reverse Cuthill-McKee Reordering
AI总结:
本文提出PARS3方法,利用RCM重排序将稀疏反对称矩阵转为带状矩阵并划分为3部分并行化,首次实现并行反对称SpMV内核,较串行实现加速达19倍,且超越基于图着色的方法并适用于对称SpMV。
摘要:
稀疏矩阵作为各种科学计算算法中普遍存在的基础元素,在处理过程中始终是一个瓶颈。反对称矩阵翻转了对称矩阵中对称对的符号。我们的工作,即并行三向带状反对称稀疏矩阵-向量乘法,通过在预处理步骤中调整矩阵形式来加速迭代求解器的重复计算,以一种不同于现有文献常见趋势的视角,同等程度地改进了并行对称SpMV内核。我们有效地使用Reverse Cuthill-McKee(RCM)重排序算法将稀疏反对称矩阵转换为带状矩阵,然后通过考虑其局部稀疏性将带状结构划分为3个不同的部分,从而高效地对其进行并行化。我们提出的带有RCM的方法是新颖的,因为它是并行反对称SpMV内核的首次实现。我们在SpMV方面的增强和发现极具价值,相较于串行压缩SpMV实现,展现出了高达19倍的显著强扩展性。在实现并行对称SpMV时,我们超越了带有同步阶段的基于启发式的图着色方法。我们的方法也自然适用于并行稀疏对称SpMV,能够启发广泛的SpMV解决方案采用本文提出的优化方法。
英文摘要:
Sparse matrices, as prevalent primitive of various scientific computing algorithms, persist as a bottleneck in processing. A skew-symmetric matrix flips signs of symmetric pairs in a symmetric matrix. Our work, Parallel 3-Way Banded Skew-Symmetric Sparse Matrix-Vector Multiplication, equally improves parallel symmetric SpMV kernels with a different perspective than the common literature trends, by manipulating the form of matrix in a preprocessing step to accelerate the repeated computations of iterative solvers. We effectively use Reverse Cuthill-McKee (RCM) reordering algorithm to transform a sparse skew-symmetrix matrix into a band matrix, then efficiently parallelize it by splitting the band structure into 3 different parts by considering its local sparsity. Our proposed method with RCM is novel in the sense that it is the first implementation of parallel skew-symmetric SpMV kernels. Our enhancements in SpMV and findings are valuable with significant strong scalings of up to 19x over the serial compressed SpMV implementation. We overperform a heuristic-based graph-coloring approach with synchronization phases in implementing parallel symmetric SpMVs. Our approach also naturally applies to parallel sparse symmetric SpMVs, that can inspire widespread SpMV solutions to adapt presented optimizations in this paper.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。