arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.27808cs.AR
收藏

AME-PIM:内存可以成为你的下一个张量加速器吗?

AME-PIM: Can Memory be Your Next Tensor Accelerator?

University of Bologna(博洛尼亚大学);Samsung Electronics(三星电子)

Emanuele Venieri, Simone Manoni, Alberto Florian, Jaehyun Park, Kyomin Sohn, Andrea Bartolini

AI总结:

本文探讨HBM-PIM能否作为ISA级矩阵加速的后端,提出基于PEP的执行模型,支持端到端执行元素操作、GEMV和GEMM,减少主机参与和芯片外传输。

摘要:

具有计算内存(HBM-PIM)提供了减少数据移动的机会,通过在内存中直接执行计算,但当前商业平台暴露的指令集有限且需要专用软件栈。本文研究HBM-PIM能否作为ISA级矩阵加速的后端,使用RISC-V附加矩阵扩展(AME)作为语义参考。我们提出基于PEP的执行模型,将AME的元素和矩阵指令映射到HBM-PIM微内核和内存操作的数据指令。与现有HBM-PIM不同,我们引入一种无缩减的外积数据流,即使没有原生缩减支持,也能在内存中完成累积。我们的方法支持在PIM模式下端到端执行元素操作、GEMV和GEMM,最小化主机参与和芯片外传输。在Samsung Aquabolt-XL上的实验评估显示,AME矩阵瓷砖乘法在单个HBM伪通道上达到14.9 GFLOP/s(59.4 FLOP/cycle).

英文摘要:

High Bandwidth Memory with Processing-in-Memory (HBM-PIM) offers an opportunity to reduce data movement by executing computation directly inside memory, but current commercial platforms expose limited instruction sets and require specialized software stacks. In this work, we investigate whether HBM-PIM can serve as a backend for ISA-level matrix acceleration, using the RISC-V Attached Matrix Extension (AME) as a semantic reference. We propose a PEP-based execution model that maps AME element-wise and matrix instructions to HBM-PIM micro-kernels and data instructions in memory operations. Differently from SoA HBM-PIM, we introduce a reduction-free outer-product dataflow that enables accumulation entirely within memory despite the lack of native reduction support. Our approach supports end-to-end execution of element-wise operations, GEMV, and GEMM in PIM mode, minimizing host involvement and off-chip transfers. An experimental evaluation on Samsung Aquabolt-XL shows that AME matrix tile multiplication achieves up to 14.9 GFLOP/s (59.4 FLOP/cycle) on a single HBM pseudo-channel.

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

↑