Design patterns for sparse-matrix computations on hybrid CPU/GPU platforms

被引:8
|
作者
Cardellini, Valeria [1 ]
Filippone, Salvatore [1 ]
Rouson, Damian W. I. [2 ]
机构
[1] Univ Roma Tor Vergata, Rome, Italy
[2] Stanford Univ, Stanford, CA 94305 USA
关键词
Design patterns; sparse matrices; GPGPU computing; MODEL;
D O I
10.3233/SPR-130363
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We apply object-oriented software design patterns to develop code for scientific software involving sparse matrices. Design patterns arise when multiple independent developments produce similar designs which converge onto a generic solution. We demonstrate how to use design patterns to implement an interface for sparse matrix computations on NVIDIA GPUs starting from PSBLAS, an existing sparse matrix library, and from existing sets of GPU kernels for sparse matrices. We also compare the throughput of the PSBLAS sparse matrix-vector multiplication on two platforms exploiting the GPU with that obtained by a CPU-only PSBLAS implementation. Our experiments exhibit encouraging results regarding the comparison between CPU and GPU executions in double precision, obtaining a speedup of up to 35.35 on NVIDIA GTX 285 with respect to AMD Athlon 7750, and up to 10.15 on NVIDIA Tesla C2050 with respect to Intel Xeon X5650.
引用
收藏
页码:1 / 19
页数:19
相关论文
共 50 条
  • [1] Heterogeneous Sparse Matrix Computations on Hybrid GPU/CPU Platforms
    Cardellini, Valeria
    Fanfarillo, Alessandro
    Filippone, Salvatore
    [J]. PARALLEL COMPUTING: ACCELERATING COMPUTATIONAL SCIENCE AND ENGINEERING (CSE), 2014, 25 : 203 - 212
  • [2] SPARSE-MATRIX COMPUTATIONS
    REID, JK
    [J]. APPLICATIONS OF MATRIX THEORY, 1989, 22 : 101 - 121
  • [3] ON FINDING SUPERNODES FOR SPARSE-MATRIX COMPUTATIONS
    LIU, JWH
    NG, EG
    PEYTON, BW
    [J]. SIAM JOURNAL ON MATRIX ANALYSIS AND APPLICATIONS, 1993, 14 (01) : 242 - 252
  • [4] PREDICTING STRUCTURE IN SPARSE-MATRIX COMPUTATIONS
    GILBERT, JR
    [J]. SIAM JOURNAL ON MATRIX ANALYSIS AND APPLICATIONS, 1994, 15 (01) : 62 - 79
  • [5] SPARSE-MATRIX COMPUTATIONS ON THE HYPERCUBE AND RELATED NETWORKS
    MANZINI, G
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1994, 21 (02) : 169 - 183
  • [6] SPARSE-MATRIX COMPUTATIONS ON PARALLEL PROCESSOR ARRAYS
    OGIELSKI, AT
    AIELLO, W
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1993, 14 (03): : 519 - 530
  • [7] Sparse matrix partitioning for optimizing SpMV on CPU-GPU heterogeneous platforms
    Benatia, Akrem
    Ji, Weixing
    Wang, Yizhuo
    Shi, Feng
    [J]. INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, 2020, 34 (01): : 66 - 80
  • [8] Solving Sparse Differential Riccati Equations on Hybrid CPU-GPU Platforms
    Benner, Peter
    Dufrechou, Ernesto
    Ezzatti, Pablo
    Mena, Hermann
    Quintana-Orti, Enrique S.
    Remon, Alfredo
    [J]. COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2017, PT I, 2017, 10404 : 116 - 132
  • [9] BASIC SPARSE-MATRIX COMPUTATIONS ON THE CM-5
    PETITON, S
    SAAD, Y
    WU, KS
    FERNG, W
    [J]. INTERNATIONAL JOURNAL OF MODERN PHYSICS C-PHYSICS AND COMPUTERS, 1993, 4 (01): : 65 - 83
  • [10] Sparse matrix computations on manycore GPU's
    Garland, Michael
    [J]. 2008 45TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, VOLS 1 AND 2, 2008, : 2 - 6