Parallelization of Reordering Algorithms for Bandwidth and Wavefront Reduction
Parallelization of Reordering Algorithms for Bandwidth and Wavefront Reduction
复制标题
DOI:
10.1109/sc.2014.80
复制
发表时间:
2014-11
期刊:
影响因子:
--
通讯作者:
Konstantinos I. Karantasis;Andrew Lenharth;Donald Nguyen;M. Garzarán;K. Pingali
中科院分区:
文献类型:
--
作者:
Konstantinos I. Karantasis;Andrew Lenharth;Donald Nguyen;M. Garzarán;K. Pingali
Many sparse matrix computations can be speeded up if the matrix is first reordered. Reordering was originally developed for direct methods but it has recently become popular for improving the cache locality of parallel iterative solvers since reordering the matrix to reduce bandwidth and wave front can improve the locality of reference of sparse matrix-vector multiplication (SpMV), the key kernel in iterative solvers. In this paper, we present the first parallel implementations of two widely used reordering algorithms: Reverse Cut hill-McKee (RCM) and Sloan. On 16 cores of the Stampede supercomputer, our parallel RCM is 5.56 times faster on the average than a state-of-the-art sequential implementation of RCM in the HSL library. Sloan is significantly more constrained than RCM, but our parallel implementation achieves a speedup of 2.88X on the average over sequential HSL-Sloan. Reordering the matrix using our parallel RCM and then performing 100 SpMV iterations is twice as fast as using HSL-RCM and then performing the SpMV iterations, it is also 1.5 times faster than performing the SpMV iterations without reordering the matrix.