arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.01475cs.ARcs.ET
收藏

PIMCOMP:面向基于交叉开关的PIM DNN加速器的通用编译框架

PIMCOMP: A Universal Compilation Framework for Crossbar-based PIM DNN Accelerators

Xiaotian Sun, Xinyu Wang, Wanqian Li, Lei Wang, Yinhe Han, Xiaoming Chen

AI总结:

本文提出通用编译框架PIMCOMP,通过节点划分、权重复制、核心映射和数据流调度四个阶段,并设计两种流水线模式,显著提升基于交叉开关的PIM DNN加速器的吞吐量与延迟性能。

摘要:

基于交叉开关的存内计算(PIM)深度神经网络(DNN)加速器能够提供大规模并行的原位运算。为了在多种DNN工作负载上实现高性能,一个专门设计的编译器至关重要。然而,一些关键的编译问题,如并行性考虑、权重复制选择以及阵列映射方法,尚未得到解决。在本工作中,我们提出了PIMCOMP——一个面向基于非易失性存储器(NVM)交叉开关的PIM DNN加速器的通用编译框架。PIMCOMP构建在一个抽象的PIM加速器架构之上,该架构兼容广泛使用的Crossbar/IMA/Tile/Chip层级结构。在此基础上,我们针对基于交叉开关的PIM加速器提出了四个通用编译阶段:节点划分、权重复制、核心映射和数据流调度。我们设计了两种具有不同层间流水线粒度的编译模式,以分别支持高吞吐量和低延迟的应用场景。我们的实验结果表明,与PUMA相比,PIMCOMP在吞吐量和延迟方面分别实现了1.6倍和2.4倍的提升。

英文摘要:

Crossbar-based PIM DNN accelerators can provide massively parallel in-situ operations. A specifically designed compiler is important to achieve high performance for a wide variety of DNN workloads. However, some key compilation issues such as parallelism considerations, weight replication selection, and array mapping methods have not been solved. In this work, we propose PIMCOMP - a universal compilation framework for NVM crossbar-based PIM DNN accelerators. PIMCOMP is built on an abstract PIM accelerator architecture, which is compatible with the widely used Crossbar/IMA/Tile/Chip hierarchy. On this basis, we propose four general compilation stages for crossbar-based PIM accelerators: node partitioning, weight replicating, core mapping, and dataflow scheduling. We design two compilation modes with different inter-layer pipeline granularities to support high-throughput and low-latency application scenarios, respectively. Our experimental results show that PIMCMOP yields improvements of 1.6$\times$ and 2.4$\times$ in throughput and latency, respectively, relative to PUMA.

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

↑