Polyhedral-Based Compilation Framework for In-Memory Neural Network Accelerators
Authors:
Open Access
- 29 September 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Journal on Emerging Technologies in Computing Systems
- Vol. 18 (1) , 1-23
Abstract
Memristor-based processing-in-memory architecture is a promising solution to the memory bottleneck in the neural network ( NN ) processing. A major challenge for the programmability of such architectures is the automatic compilation of high-level NN workloads, from various operators to the memristor-based hardware that may provide programming interfaces with different granularities. This article proposes a source-to-source compilation framework for such memristor-based NN accelerators, which can conduct automatic detection and mapping of multiple NN operators based on the flexible and rich representation capability of the polyhedral model. In contrast to previous studies, it implements support for pipeline generation to exploit the parallelism in the NN loads to leverage hardware resources for higher efficiency. The evaluation based on synthetic kernels and NN benchmarks demonstrates that the proposed framework can reliably detect and map the target operators. Case studies on typical memristor-based architectures also show its generality over various architectural designs. The evaluation further demonstrates that compared with existing polyhedral-based compilation frameworks that do not support the pipelined execution, the performance can upgrade by an order of magnitude with the pipelined execution, which emphasizes the necessity of our improvement.Keywords
Funding Information
- National Key Research and Development Program of China (2020YFB1600200)
- National Natural Science Foundation of China (62072266 and 62050340)
- Beijing Academy of Artificial Intelligence (BAAI2019ZD0403)
- Beijing Innovation Center for Future Chip
This publication has 32 references indexed in Scilit:
- PRIMEACM SIGARCH Computer Architecture News, 2016
- EyerissACM SIGARCH Computer Architecture News, 2016
- EIEACM SIGARCH Computer Architecture News, 2016
- Dot-product engine for neuromorphic computing2016
- Pinatubo2016
- Technological Exploration of RRAM Crossbar Array for Matrix-Vector MultiplicationJournal of Computer Science and Technology, 2016
- PolyMageACM SIGARCH Computer Architecture News, 2015
- DaDianNao: A Machine-Learning Supercomputer2014
- Polyhedral parallel code generation for CUDAACM Transactions on Architecture and Code Optimization, 2013
- A practical automatic polyhedral parallelizer and locality optimizerACM SIGPLAN Notices, 2008