IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/4596943.html
   My bibliography  Save this article

Efficient CSR-Based Sparse Matrix-Vector Multiplication on GPU

Author

Listed:
  • Jiaquan Gao
  • Panpan Qi
  • Guixia He

Abstract

Sparse matrix-vector multiplication (SpMV) is an important operation in computational science and needs be accelerated because it often represents the dominant cost in many widely used iterative methods and eigenvalue problems. We achieve this objective by proposing a novel SpMV algorithm based on the compressed sparse row (CSR) on the GPU. Our method dynamically assigns different numbers of rows to each thread block and executes different optimization implementations on the basis of the number of rows it involves for each block. The process of accesses to the CSR arrays is fully coalesced, and the GPU’s DRAM bandwidth is efficiently utilized by loading data into the shared memory, which alleviates the bottleneck of many existing CSR-based algorithms (i.e., CSR-scalar and CSR-vector). Test results on C2050 and K20c GPUs show that our method outperforms a perfect-CSR algorithm that inspires our work, the vendor tuned CUSPARSE V6.5 and CUSP V0.5.1, and three popular algorithms clSpMV, CSR5, and CSR-Adaptive.

Suggested Citation

  • Jiaquan Gao & Panpan Qi & Guixia He, 2016. "Efficient CSR-Based Sparse Matrix-Vector Multiplication on GPU," Mathematical Problems in Engineering, Hindawi, vol. 2016, pages 1-14, October.
  • Handle: RePEc:hin:jnlmpe:4596943
    DOI: 10.1155/2016/4596943
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/MPE/2016/4596943.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/MPE/2016/4596943.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2016/4596943?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:jnlmpe:4596943. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.