arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.10037cs.PFcs.AR
收藏

FSpGEMM:一种基于FPGA的通用稀疏矩阵-矩阵乘法加速框架OpenCL-based HPC

FSpGEMM: An OpenCL-based HPC Framework for Accelerating General Sparse Matrix-Matrix Multiplication on FPGAs

Erfan Bank Tavakoli, Michael Riera, Masudul Hassan Quraishi, Fengbo Ren

摘要:

通用稀疏矩阵-矩阵乘法(SpGEMM)是许多科学计算、高性能计算(HPC)和图形分析应用的组成部分。本文提出了一种新的压缩稀疏向量(CSV)格式表示稀疏矩阵和FSpGEMM,一个基于OpenCL的HPC框架,用于加速FPGA上的一般稀疏矩阵矩阵乘法。建议的FSpGEMM框架包括一个FPGA内核实现的吞吐量优化的硬件架构的基础上古斯塔夫森的算法和主机程序实现预处理功能的输入矩阵转换为CSV格式的建议的架构。FSpGEMM利用一个新的缓冲方案定制古斯塔夫森的算法。我们比较了在英特尔Arria 10 GX FPGA开发板上实现的FSpGEMM与在英特尔至强E5-2637 CPU上实现的英特尔数学内核库(MKL)和在NVIDIA GTX TITAN X GPU上实现的cuSPARSE,分别用于乘以从SuiteSparse Matrix Collection中选择的一组稀疏矩阵。实验结果表明,所提出的FSpGEMM解决方案实现了平均4.9倍和1.7倍的高性能与31.9倍和13.1倍的低能耗每SpGEMM计算比CPU和GPU的实现,分别。

英文摘要:

General sparse matrix-matrix multiplication (SpGEMM) is an integral part of many scientific computing, high-performance computing (HPC), and graph analytic applications. This paper presents a new compressed sparse vector (CSV) format for representing sparse matrices and FSpGEMM, an OpenCL-based HPC framework for accelerating general sparse matrix-matrix multiplication on FPGAs. The proposed FSpGEMM framework includes an FPGA kernel implementing a throughput-optimized hardware architecture based on Gustavson's algorithm and a host program implementing pre-processing functions for converting input matrices to the CSV format tailored for the proposed architecture. FSpGEMM utilizes a new buffering scheme tailored to Gustavson's algorithm. We compare FSpGEMM implemented on an Intel Arria 10 GX FPGA development board with Intel Math Kernel Library (MKL) implemented on an Intel Xeon E5-2637 CPU and cuSPARSE on an NVIDIA GTX TITAN X GPU, respectively, for multiplying a set of sparse matrices selected from SuiteSparse Matrix Collection. The experiment results show that the proposed FSpGEMM solution achieves on average 4.9x and 1.7x higher performance with 31.9x and 13.1x lower energy consumption per SpGEMM computation than the CPU and GPU implementations, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑