Speculative Segmented Sum for Sparse Matrix-Vector Multiplication on Heterogeneous Processors

Weifeng Liu, Brian Vinter
4/24/2015
72 citations
cs.MScs.DCmath.NA

Official code: weifengliu-ssslab/Benchmark_SpMV_using_CSR (26 stars, C++, MIT, last commit 2015-05-12).

Abstract

Sparse matrix-vector multiplication (SpMV) is a central building block for scientific software and graph applications. Recently, heterogeneous processors composed of different types of cores attracted much attention because of their flexible core configuration and high energy efficiency.

Show full abstract

In this paper, we propose a compressed sparse row (CSR) format based SpMV algorithm utilizing both types of cores in a CPU-GPU heterogeneous processor. We first speculatively execute segmented sum operations on the GPU part of a heterogeneous processor and generate a possibly incorrect results. Then the CPU part of the same chip is triggered to re-arrange the predicted partial sums for a correct resulting vector. On three heterogeneous processors from Intel, AMD and nVidia, using 20 sparse matrices as a benchmark suite, the experimental results show that our method obtains significant performance improvement over the best existing CSR-based SpMV algorithms. The source code of this work is downloadable at https://github.com/bhSPARSE/Benchmark_SpMV_using_CSR

View on arXivView PDF

Code Implementations(1)

MIT

CSR-based SpMV on Heterogeneous Processors (Intel Broadwell, AMD Kaveri and nVidia Tegra K1)

266C++, CFeb 6, 201511 years agoMIT

Similar Papers

Cite this paper

@article{liu2015speculative,
  title  = {Speculative Segmented Sum for Sparse Matrix-Vector Multiplication on Heterogeneous Processors},
  author = {Weifeng Liu and Brian Vinter},
  year   = {2015},
  eprint = {1504.06474},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1504.06474}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1504.06474.svg)](https://codeofpaper.com/paper/1504.06474)

Discussion