推测分段求和用于异构处理器上的稀疏矩阵-向量乘法
Speculative Segmented Sum for Sparse Matrix-Vector Multiplication on Heterogeneous Processors
AI总结:
本文提出一种基于压缩稀疏行格式的稀疏矩阵-向量乘法算法,利用CPU和GPU核心进行推测分段求和运算,通过CPU重新排列部分和以获得正确结果,实验表明在三种异构处理器上性能显著提升。
摘要:
本文提出一种基于压缩稀疏行格式的稀疏矩阵-向量乘法算法,利用CPU和GPU核心进行推测分段求和运算,通过CPU重新排列部分和以获得正确结果,实验表明在三种异构处理器上性能显著提升。
英文摘要:
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
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。