• DocumentCode
    228751
  • Title

    Efficient Sparse Matrix-Vector Multiplication on GPUs Using the CSR Storage Format

  • Author

    Greathouse, Joseph L. ; Daga, Mayank

  • Author_Institution
    AMD Res., Adv. Micro Devices Inc., USA
  • fYear
    2014
  • fDate
    16-21 Nov. 2014
  • Firstpage
    769
  • Lastpage
    780
  • Abstract
    The performance of sparse matrix vector multiplication (SpMV) is important to computational scientists. Compressed sparse row (CSR) is the most frequently used format to store sparse matrices. However, CSR-based SpMV on graphics processing units (GPUs) has poor performance due to irregular memory access patterns, load imbalance, and reduced parallelism. This has led researchers to propose new storage formats. Unfortunately, dynamically transforming CSR into these formats has significant runtime and storage overheads. We propose a novel algorithm, CSR-Adaptive, which keeps the CSR format intact and maps well to GPUs. Our implementation addresses the aforementioned challenges by (i) efficiently accessing DRAM by streaming data into the local scratchpad memory and (ii) dynamically assigning different numbers of rows to each parallel GPU compute unit. CSR-Adaptive achieves an average speedup of 14.7× over existing CSR-based algorithms and 2.3× over clSpMV cocktail, which uses an assortment of matrix formats.
  • Keywords
    graphics processing units; mathematics computing; matrix multiplication; parallel processing; sparse matrices; CSR storage format; CSR-adaptive; CSR-based SpMV; DRAM; clSpMV cocktail; compressed sparse row; graphics processing units; local scratchpad memory; parallel GPU compute unit; sparse matrix-vector multiplication; streaming data; Bandwidth; Graphics processing units; Heuristic algorithms; Instruction sets; Random access memory; Sparse matrices; Vectors; AMD; Sparse matrix-vector multiplication (SpMV); compressed sparse row (CSR); general purpose computation on graphics processing units (GPGPU); performance acceleration;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing, Networking, Storage and Analysis, SC14: International Conference for
  • Conference_Location
    New Orleans, LA
  • Print_ISBN
    978-1-4799-5499-5
  • Type

    conf

  • DOI
    10.1109/SC.2014.68
  • Filename
    7013050