ACES: Accelerating Sparse Matrix Multiplication with Adaptive Execution Flow and Concurrency-Aware Cache Optimizations
Open Access
- 27 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 71-85
Abstract
Sparse matrix-matrix multiplication (SpMM) is a critical computational kernel in numerous scientific and machine learning applications. SpMM involves massive irregular memory accesses and poses great challenges to conventional cache-based computer architectures. Recently dedicated SpMM accelerators have been proposed to enhance SpMM performance. However, current SpMM accelerators still face challenges in adapting to varied sparse patterns, fully exploiting inherent parallelism, and optimizing cache performance. To address these issues, we introduce ACES, a novel SpMM accelerator in this study. First, ACES features an adaptive execution flow that dynamically adjusts to diverse sparse patterns. The adaptive execution flow balances parallel computing efficiency and data reuse. Second, ACES incorporates locality-concurrency co-optimizations within the global cache. ACES utilizes a concurrency-aware cache management policy, which considers data locality and concurrency for optimal replacement decisions. Additionally, the integration of a non-blocking buffer with the global cache enhances concurrency and reduces computational stalls. Third, the hardware architecture of ACES is designed to integrate all innovations. The architecture ensures efficient support across the adaptive execution flow, advanced cache optimizations, and fine-grained parallel processing. Our performance evaluation demonstrates that ACES significantly outperforms existing solutions, providing a 2.1× speedup and marking a substantial advancement in SpMM acceleration.Keywords
Funding Information
- NSF (National Science Foundation) (CNS-2310422, CNS-2152497, CCF-2029014, CCF-2008907)
- National Key Research and Development Program of China (2018YFA0701500)
- Strategic Priority Research Program of the Chinese Academy of Sciences (XDB44000000)
- National Natural Science Foundation of China (62122076, 62025404)
- Key Research Program of Frontier Science, Chinese Academy of Sciences (ZDBS-LY-JSC012)
This publication has 52 references indexed in Scilit:
- The Memory-Bounded Speedup Model and Its Impacts in ComputingJournal of Computer Science and Technology, 2023
- CANDLES: Channel-Aware Novel Dataflow-Microarchitecture Co-Design for Low Energy Sparse Neural Network Acceleration2022
- Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration2021
- SPAGHETTI: Streaming Accelerators for Highly Sparse GEMM on FPGAs2021
- SpArch: Efficient Architecture for Sparse Matrix Multiplication2020
- SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN Training2020
- SlimSell: A Vectorizable Graph Representation for Breadth-First Search2017
- An Efficient GPU General Sparse Matrix-Matrix Multiplication for Irregular Data2014
- Swizzle-Switch Networks for Many-Core SystemsIEEE Journal on Emerging and Selected Topics in Circuits and Systems, 2012
- O(N) tight-binding molecular dynamics on massively parallel computers: an orbital decomposition approachComputer Physics Communications, 1996