GAS: General-Purpose In-Memory-Computing Accelerator for Sparse Matrix Multiplication
被引:1
作者:
Zhang, Xiaoyu
论文数: 0引用数: 0
h-index: 0
机构:
Chinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Univ Chinese Acad Sci, Beijing 100190, Peoples R ChinaChinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Zhang, Xiaoyu
[1
,2
]
论文数: 引用数:
h-index:
机构:
Li, Zerun
[1
,2
]
Liu, Rui
论文数: 0引用数: 0
h-index: 0
机构:
Chinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Xiangtan Univ, Sch Mat Sci & Engn, Xiangtan 411105, Hunan, Peoples R ChinaChinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Liu, Rui
[1
,3
]
Chen, Xiaoming
论文数: 0引用数: 0
h-index: 0
机构:
Chinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Univ Chinese Acad Sci, Beijing 100190, Peoples R ChinaChinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Chen, Xiaoming
[1
,2
]
Han, Yinhe
论文数: 0引用数: 0
h-index: 0
机构:
Chinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
Univ Chinese Acad Sci, Beijing 100190, Peoples R ChinaChinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
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 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.