PRIM: Energy- and Endurance-Aware Compiler Optimization for Digital Compute in Non-volatile Memory
Abstract
Compute-in-Memory (CiM) is an alternative computing paradigm that circumvents the memory bandwidth bottleneck. Variants utilizing non-volatile memory cells (NVCiM) to perform Boolean operations directly within memory arrays offer significant density and energy-efficiency advantages. Fully realizing this potential, however, requires NVCiM-specific compiler optimizations. In conventional digital NVCiM systems, an output cell must be written -- or preset -- to an operation-specific value before any Boolean operation can occur. Preset-induced extra writes can degrade energy efficiency and cell endurance, often to the point of negating CiM's efficiency gains. In this paper, we introduce PRIM (Preset Reduction In Memory), a compiler optimization framework tailored for digital NVCiM that effectively minimizes preset overhead without compromising computational accuracy or architectural complexity. Unlike existing optimization approaches, PRIM is not restricted to specific types of Boolean operations. Experimental results show that PRIM can reduce execution time and energy consumption by up to 50/% and 44/%, respectively, while boosting cell endurance by up to 50/%.
Create a lesson
Related papers
UnO-NeSy: Optimizing Neuro-Symbolic Computing with Unified FeFET Based In-Memory System
Shared title terminology · Yifei Zhou, Zhiying Zhu, Yuxiao Jiang et al.
Hopfield Networks in Non-volatile Memory
Shared title terminology · Patrick Miller, Ulya R. Karpuzcu
3D-NAND-CIM: A Hybrid-Bonded 3D-NAND-Flash-based Analog In-Memory-Compute macro offering 4.8M weights/mm^2
Shared title terminology · Pritish Narayanan, Athanasios Vasilopoulos, Geoffrey W. Burr et al.
Atlas: Accelerating Quantum FTQC Compilation with Optimized Algebraic Rotation Synthesis
Shared title terminology · Anbang Wu, Pu Pang, Wei Geng
Closed-Form Optimal Weight Splitting for Matrix-Vector Multiply on Noisy In-Memory Accelerators
Shared title terminology · Mehmet Aktukmak, David A. Roberts
Perspective: Content-addressable memories as a computing primitive for today's AI and beyond
Shared title terminology · Paul-Philipp Manea, Bo Wen, Peiyi He et al.