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

arXiv: https://arxiv.org/abs/1504.06474 · HTML: https://mlsanity.com/paper/1504.06474/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 24 Apr 2015.

## Built on by (most cited first, 1 of 1)

- [AdR-Gaussian: Accelerating Gaussian Splatting with Adaptive Radius](https://mlsanity.com/paper/2409.08669/) (2024)

## Abstract (arXiv)

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. 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
