面向存内计算深度神经网络加速器的指令集架构(ISA)
Instruction Set Architecture (ISA) for Processing-in-Memory DNN Accelerators
AI总结:
本文提出一种面向存内计算DNN加速器的透明指令集架构,支持CNN和MLP推理,并已用于开源编译器PIMCOMP-NN和模拟器PIMSIM-NN。
摘要:
本文提出了一种面向基于存内计算(PIM)的深度神经网络(DNN)加速器的指令集架构(ISA)。所提出的 ISA 用于基于 PIM 架构的 DNN 推理。假设权重在推理前已经训练并编程到基于 PIM 的 DNN 加速器中,并且在推理期间保持固定。我们不限制基于 PIM 的 DNN 加速器的器件类型。用于构建基于 PIM 的 DNN 加速器的常见器件包括阻变随机存取存储器(RRAM)、闪存、铁电场效应晶体管(FeFET)、静态随机存取存储器(SRAM)等。目标 DNN 包括卷积神经网络(CNN)和多层感知器(MLP)。所提出的 ISA 对应用和硬件实现都是透明的。它能够为基于 PIM 的 DNN 加速器和软件栈开发统一的工具链。对于使用不同 ISA 的实际硬件,统一工具链生成的指令可以容易地转换为目标 ISA。所提出的 ISA 已在开源 DNN 编译器 PIMCOMP-NN(https://github.com/sunxt99/PIMCOMP-NN)和相关的开源模拟器 PIMSIM-NN(https://github.com/wangxy-2000/pimsim-nn)中使用。
英文摘要:
In this article, we introduce an instruction set architecture (ISA) for processing-in-memory (PIM) based deep neural network (DNN) accelerators. The proposed ISA is for DNN inference on PIM-based architectures. It is assumed that the weights have been trained and programmed into PIM-based DNN accelerators before inference, and they are fixed during inference. We do not restrict the devices of PIM-based DNN accelerators. Popular devices used to build PIM-based DNN accelerators include resistive random-access memory (RRAM), flash, ferroelectric field-effect transistor (FeFET), static random-access memory (SRAM), etc. The target DNNs include convolutional neural networks (CNNs) and multi-layer perceptrons (MLPs). The proposed ISA is transparent to both applications and hardware implementations. It enables to develop unified toolchains for PIM-based DNN accelerators and software stacks. For practical hardware that uses a different ISA, the generated instructions by unified toolchains can easily converted to the target ISA. The proposed ISA has been used in the open-source DNN compiler PIMCOMP-NN (https://github.com/sunxt99/PIMCOMP-NN) and the associated open-source simulator PIMSIM-NN (https://github.com/wangxy-2000/pimsim-nn).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。