GAS: General-Purpose In-Memory-Computing Accelerator for Sparse Matrix Multiplication

被引:1
作者
Zhang, Xiaoyu [1 ,2 ]
Li, Zerun [1 ,2 ]
Liu, Rui [1 ,3 ]
Chen, Xiaoming [1 ,2 ]
Han, Yinhe [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
[2] Univ Chinese Acad Sci, Beijing 100190, Peoples R China
[3] Xiangtan Univ, Sch Mat Sci & Engn, Xiangtan 411105, Hunan, Peoples R China
关键词
Sparse matrices; FeFETs; Computer architecture; Arrays; Nonvolatile memory; Microprocessors; Vectors; Sparse matrix multiplication; in-memory computing; SpMV; SpMSpV; SpMM; SpMSpM;
D O I
10.1109/TC.2024.3371790
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Sparse matrix multiplication is widely used in various practical applications. Different accelerators have been proposed to speed up sparse matrix-dense vector multiplication (SpMV), sparse matrix-sparse vector multiplication (SpMSpV), sparse matrix-dense matrix multiplication (SpMM), and sparse matrix-sparse matrix multiplication (SpMSpM). The performance of traditional sparse matrix multiplication accelerators is typically bounded by memory access due to the poor data locality and irregular memory access. In-memory computing (IMC) is a promising technique to alleviate the memory bottleneck. Previous IMC studies are mostly focused on accelerating a single sparse matrix multiplication function. In this paper, we propose GAS, a general-purpose IMC accelerator for sparse matrix multiplication. GAS integrates non-volatile memory based content-addressable memory (CAM) arrays and multiply-add computation (MAC) arrays to support sparse matrices represented in the double-precision floating-point format. Using a unified outer product based multiplication methodology, GAS supports the acceleration of SpMV, SpMSpv, SpMM, and SpMSpM. We further propose four optimization techniques to speed up the computation of GAS. GAS achieves significant speedups and energy savings over central processing unit (CPU) and graphics processing unit (GPU) implementations. Compared with state-of-the-art traditional and IMC-based accelerators, GAS not only supports more functions, but also achieves higher performance and energy efficiency.
引用
收藏
页码:1427 / 1441
页数:15
相关论文
共 43 条
  • [41] SpArch: Efficient Architecture for Sparse Matrix Multiplication
    Zhang, Zhekai
    Wang, Hanrui
    Han, Song
    Dally, William J.
    [J]. 2020 IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA 2020), 2020, : 261 - 274
  • [42] New generation of predictive technology model for sub-45 nm early design exploration
    Zhao, Wei
    Cao, Yu
    [J]. IEEE TRANSACTIONS ON ELECTRON DEVICES, 2006, 53 (11) : 2816 - 2823
  • [43] Zhu QL, 2013, IEEE HIGH PERF EXTR