SongC: A Compiler for Hybrid Near-Memory and In-Memory Many-Core Architecture
- 6 September 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 73 (10) , 2420-2433
Abstract
Building hybrid systems that incorporate various processing-in-memory (PIM) devices and processing-near-memory (PNM) technologies can offer complementary advantages in both efficiency and flexibility, while many-core architectures show great potential in deploying data-centric parallel applications with high performance. Compilers for the hybrid PN/IM architecture are critical for enabling such computing systems to be put into practical use. However, most of the existing neural network compilers for PIM or PNM are optimized from the perspective of an operator, and cannot effectively take advantage of a decentralized core-level dataflow with large on-chip memory access bandwidth. Here, we propose a full-stack System-on-graph Compiler (SongC) framework for many-core architecture, which optimizes the efficiency of the PIM devices and leverages the flexibility of the PNM architectures. SongC establishes multi-level graph abstractions to clarify the critical deployment challenges at different levels and generalizes the standard optimizations, decoupling versatile algorithms and diverse types of hardware. To handle the complexity of many-core resource utilization, we also establish a simulation-compilation interaction flow, including a just-in-time evaluator to boost the scheduling search and an extended Roofline model, referred to as the Palace model, to guide the search. Experiments demonstrate the various optimizations and overall performance of SongC and reveal the capability of strategy exploration.Keywords
This publication has 36 references indexed in Scilit:
- A Survey on Collaborative DNN Inference for Edge IntelligenceMachine Intelligence Research, 2023
- Towards a New Paradigm for Brain-inspired Computer VisionMachine Intelligence Research, 2022
- A 1596GB/s 48Gb Embedded DRAM 384-Core SoC with Hybrid Bonding Integration2021
- Heterogeneous Dataflow Accelerators for Multi-DNN Workloads2021
- In-Memory Computing in Emerging Memory Technologies for Machine Learning: An Overview2020
- Parallel Multi Channel convolution using General Matrix Multiplication2017
- Preesm: A dataflow-based rapid prototyping framework for simplifying multicore DSP programming2014
- HBM: Memory solution for bandwidth-hungry processors2014
- Mapping Applications to Tiled Multiprocessor Embedded SystemsSeventh International Conference on Application of Concurrency To System Design (ACSD 2007), 2007
- StreamIt: A Language for Streaming Applications2002