TCIM: Triangle Counting Acceleration With Processing-In-MRAM Architecture
Xueyan Wang, Jianlei Yang, Yinglin Zhao, Yingjie Qi, Meichen Liu, Xingzhou Cheng, Xiaotao Jia, Xiaoming Chen, Gang Qu, Weisheng Zhao
Abstract
Triangle counting (TC) is a fundamental problem in graph analysis and has found numerous applications, which motivates many TC acceleration solutions in the traditional computing platforms like GPU and FPGA. However, these approaches suffer from the bandwidth bottleneck because TC calculation involves a large amount of data transfers. In this paper, we propose to overcome this challenge by designing a TC accelerator utilizing the emerging processing-in-MRAM (PIM) architecture. The true innovation behind our approach is a novel method to perform TC with bitwise logic operations (such as AND), instead of the traditional approaches such as matrix computations. This enables the efficient in-memory implementations of TC computation, which we demonstrate in this paper with computational Spin-Transfer Torque Magnetic RAM (STT-MRAM) arrays. Furthermore, we develop customized graph slicing and mapping techniques to speed up the computation and reduce the energy consumption. We use a device-to-architecture co-simulation framework to validate our proposed TC accelerator. The results show that our data mapping strategy could reduce 99.99% of the computation and 72% of the memory WRITE operations. Compared with the existing GPU or FPGA accelerators, our in-memory accelerator achieves speedups of 9× and 23.4×, respectively, and a 20.6× energy efficiency improvement over the FPGA accelerator.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- Towards Efficient SRAM-PIM Architecture Design by Exploiting Unstructured Bit-Level SparsityCenlin Duan, Jianlei Yang, Yiou Wang, Yikun Wang et al.DAC 2024 · 6 citations
- Triangle Counting in Hypergraph Streams: A Complete and Practical ApproachLingkai Meng, Long Yuan, Xuemin Lin, Wenjie Zhang et al.SIGMOD 2026 · 4 citations
Related papers
- FRM-CIM: Full-Digital Recursive MAC Computing in Memory System Based on MRAM for Neural Network ApplicationsJinkai Wang, Zekun Wang, Bojun Zhang, Zhengkun Gu et al.DAC 2024 · 1 citation
- A digital 3D TCAM accelerator for the inference phase of Random ForestChieh-Lin Tsai, Chun-Feng Wu, Yuan-Hao Chang, Han-Wen Hu et al.DAC 2023 · 6 citations
- PIM-STM: Software Transactional Memory for Processing-In-Memory SystemsAndré Lopes, Daniel Castro, Paolo RomanoASPLOS 2024 · 12 citations
- CRAFFT: High Resolution FFT Accelerator In Spintronic Computational RAMM. Hüsrev Cilasun, Salonik Resch, Zamshed Iqbal Chowdhury, Erin Olson et al.DAC 2020 · 19 citations
- Series-Parallel Hybrid SOT-MRAM Computing-in-Memory Macro with Multi-Method Modulation for High Area and Energy EfficiencyWeiliang Huang, Jinyu Bai, Wang Kang, Zhaohao Wang et al.DAC 2024 · 3 citations
