arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.07985cs.AR
收藏

PIMfused:用于CNN数据传输优化的近存储体DRAM-PIM与融合层数据流

PIMfused: Near-Bank DRAM-PIM with Fused-layer Dataflow for CNN Data Transfer Optimization

Simei Yang, Xinyu Shi, Lu Zhao, Yunyu Ling, Quanjun Wang, Francky Catthoor

AI总结:

针对近存储体DRAM-PIM加速CNN时跨存储体数据传输受限问题,提出软硬件协同设计PIMfused,通过融合层数据流打破层间依赖,优化数据传输,在4存储体PIMcore下相比基线实现内存周期、能耗和面积的显著优化。

摘要:

近存储体内存内处理(PIM)架构将处理核心(PIMcore)集成在DRAM存储体附近,以减轻片外内存访问的高成本。在DRAM-PIM上加速卷积神经网络(CNN)时,性能常受跨存储体(或跨PIMcore)数据传输的限制,这是由传统逐层数据流导致的,该数据流在连续CNN层间强制产生跨存储体(或跨PIMcore)依赖。为应对这一挑战,我们提出PIMfused,一种软硬件协同设计,可在近存储体DRAM-PIM中实现融合层数据流以进行端到端CNN执行。通过采用融合层数据流,PIMfused提高了数据复用率,更重要的是打破了跨存储体数据依赖,从而在不牺牲存储体级并行性的前提下优化了跨存储体数据传输。我们使用端到端ResNet18研究了缓冲区大小和PIMcore并行性(1存储体vs.4存储体)对PIMfused的影响。我们给出三个关键结论,并表明使用4存储体PIMcore时,PIMfused相比GDDR6-AiM类基线实现了整体PPA提升,将内存周期降至30.6%,能耗降至83.4%,面积降至76.5%。

英文摘要:

Near-bank Processing-in-Memory (PIM) architectures integrate processing cores (PIMcores) close to DRAM banks to mitigate the high cost of off-chip memory accesses. When accelerating convolutional neural network (CNN) on DRAM-PIM, performance is often constrained by cross-bank (or cross-PIMcore) data transfers, which are induced by the conventional layer-by-layer dataflow that enforces inter-bank (or inter-PIMcore) dependencies across successive CNN layers. To address this challenge, we propose PIMfused, a hardware-software co-design that enables fused-layer dataflow for end-to-end CNN execution in near-bank DRAM-PIM. By adopting fused-layer dataflow, PIMfused improves data reuse and, more importantly, breaks inter-bank data dependencies, thereby optimizing cross-bank data transfers without sacrificing bank-level parallelism. We study the impact of buffer sizes and PIMcore parallelism (1-bank vs. 4-bank) on PIMfused using end-to-end ResNet18. We present three key takeaways and show that with 4-bank PIMcores, PIMfused achieves overall PPA gains over a GDDR6-AiM-like baseline, cutting memory cycles to 30.6%, energy to 83.4%, and area to 76.5%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑