Lune

ISCA2022Top-tier venue

AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction

Size Zheng, Renze Chen, Anjiang Wei, Yicheng Jin, Qin Han, Liqiang Lu, Bingyang Wu, Xiuhong Li, Shengen Yan, Yun Liang

Abstract

Hardware specialization is a promising trend to sustain performance growth. Spatial hardware accelerators that employ specialized and hierarchical computation and memory resources have recently shown high performance gains for tensor applications such as deep learning, scientific computing, and data mining. To harness the power of these hardware accelerators, programmers have to use specialized instructions with certain hardware constraints. However, these hardware accelerators and instructions are quite new and there is a lack of understanding of the hardware abstraction, performance optimization space, and automatic methodologies to explore the space. Existing compilers use handtuned computation implementations and optimization templates, resulting in sub-optimal performance and heavy development costs.

In this paper, we propose AMOS, which is an automatic compilation framework for spatial hardware accelerators. Central to this framework is the hardware abstraction that not only clearly specifies the behavior of spatial hardware instructions, but also formally defines the mapping problem from software to hardware. Based on

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

28 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasks
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Language Models are Few-Shot Learners
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration
  • PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation cites Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation cites TensorIR: An Abstraction for Automatic Tensorized Program Optimization
  • TensorIR: An Abstraction for Automatic Tensorized Program Optimization cites Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion cites Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion cites Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion cites Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasks
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion cites Language Models are Few-Shot Learners
  • Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration cites Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • Ladder: Enabling Efficient Low-Precision Deep Learning Computing through Hardware-aware Tensor Transformation cites PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation
  • Ladder: Enabling Efficient Low-Precision Deep Learning Computing through Hardware-aware Tensor Transformation cites Ansor: Generating High-Performance Tensor Programs for Deep Learning
  • Ladder: Enabling Efficient Low-Precision Deep Learning Computing through Hardware-aware Tensor Transformation cites Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasks
  • Ladder: Enabling Efficient Low-Precision Deep Learning Computing through Hardware-aware Tensor Transformation cites TensorIR: An Abstraction for Automatic Tensorized Program Optimization
  • Ladder: Enabling Efficient Low-Precision Deep Learning Computing through Hardware-aware Tensor Transformation cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers28

  1. PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph CompilationJason Ansel, Edward Z. Yang, Horace He, Natalia Gimelshein et al.ASPLOS 2024 · 693 citations
  2. TensorIR: An Abstraction for Automatic Tensorized Program OptimizationSiyuan Feng, Bohan Hou, Hongyi Jin, Wuwei Lin et al.ASPLOS 2023 · 80 citations
  3. Ladder: Enabling Efficient Low-Precision Deep Learning Computing through Hardware-aware Tensor TransformationLei Wang, Lingxiao Ma, Shijie Cao, Quanlu Zhang et al.OSDI 2024 · 56 citations
  4. Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators FusionSize Zheng, Siyuan Chen, Peidi Song, Renze Chen et al.HPCA 2023 · 46 citations
  5. TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based AnalysisSize Zheng, Siyuan Chen, Siyuan Gao, Liancheng Jia et al.MICRO 2023 · 31 citations

Builds on12

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu et al.OSDI 2020 · 551 citations
  3. Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack IntegrationHasan Genc, Seah Kim, Alon Amid, Ameer Haj-Ali et al.DAC 2021 · 325 citations
  4. Interstellar: Using Halide's Scheduling Language to Analyze DNN AcceleratorsXuan Yang, Mingyu Gao, Qiaoyi Liu, Jeff Setter et al.ASPLOS 2020 · 237 citations
  5. Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasksLingxiao Ma, Zhiqiang Xie, Zhi Yang, Jilong Xue et al.OSDI 2020 · 192 citations

Related papers

  1. Soter: Analytical Tensor-Architecture Modeling and Automatic Tensor Program Tuning for Spatial AcceleratorsFuyu Wang, Minghua Shen, Yufei Ding, Nong XiaoISCA 2024 · 7 citations
  2. DSAGEN: Synthesizing Programmable Spatial AcceleratorsJian Weng, Sihao Liu, Vidushi Dadu, Zhengrong Wang et al.ISCA 2020 · 140 citations
  3. Allo: A Programming Model for Composable Accelerator DesignHongzheng Chen, Niansong Zhang, Shaojie Xiang, Zhichen Zeng et al.PLDI 2024 · 41 citations
  4. Stellar: An Automated Design Framework for Dense and Sparse Spatial AcceleratorsHasan Nazim Genc, Hansung Kim, Prashanth Ganesh, Yakun Sophia ShaoMICRO 2024 · 3 citations
  5. Exocompilation for productive programming of hardware acceleratorsYuka Ikarashi, Gilbert Louis Bernstein, Alex Reinking, Hasan Genc et al.PLDI 2022 · 56 citations
Dusk over the sea between two cliffs drawn in fine vertical lines