PRIM:面向非易失性存储器中数字计算的能量与 endurance 感知的编译器优化
PRIM: Energy- and Endurance-Aware Compiler Optimization for Digital Compute in Non-volatile Memory
AI总结:
该研究针对非易失性存储器数字计算的预置开销问题,提出编译器优化框架PRIM,可降低执行时间、能耗并提升单元 endurance,不受特定布尔运算类型限制。
摘要:
内存计算(CiM)是一种可规避内存带宽瓶颈的替代计算范式,利用非易失性存储单元(NVCiM)在存储阵列内直接执行布尔运算的变体,具备显著的密度和能效优势。然而,要充分实现这一潜力,需针对NVCiM的特定编译器优化。在传统数字NVCiM系统中,执行任何布尔运算前,必须将输出单元写入(或预置)为特定运算值,预置引发的额外写入会降低能效和单元 endurance,甚至抵消CiM的效率增益。本文提出PRIM(Preset Reduction In Memory),这是一种专为数字NVCiM设计的编译器优化框架,可在不损害计算精度或架构复杂度的前提下,有效最小化预置开销。与现有优化方法不同,PRIM不受限于特定类型的布尔运算。实验结果显示,PRIM可将执行时间和能耗分别降低多达50%和44%,同时将单元 endurance 提升多达50%。
英文摘要:
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/%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。