LLM-Aided Compilation for Tensor Accelerators
Not on the map. Why?
Abstract (arXiv)
Hardware accelerators, in particular accelerators for tensor processing, have many potential application domains. However, they currently lack the software infrastructure to support the majority of domains outside of deep learning. Furthermore, a compiler that can easily be updated to reflect changes at both application and hardware levels would enable more agile development and design space exploration of accelerators, allowing hardware designers to realize closer-to-optimal performance. In this work, we discuss how large language models (LLMs) could be leveraged to build such a compiler. Specifically, we demonstrate the ability of GPT-4 to achieve high pass rates in translating code to the Gemmini accelerator, and prototype a technique for decomposing translation into smaller, more LLM-friendly steps. Additionally, we propose a 2-phase workflow for utilizing LLMs to generate hardware-optimized code.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 21 of its 48 references that are in the map. First posted on arXiv 6 Aug 2024.
Builds on
21 of 48 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Generative Adversarial Networkscited by 5,603
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
9 more
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
- 2019Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integrationcited by 59
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2023TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollerscited by 9
- 2022Automated Transpilation of Imperative to Functional Code using Neural-Guided Program Synthesis (Extended Version)cited by 7
- 2021GPTPU: Accelerating Applications using Edge Tensor Processing Unitscited by 5
- 2023Guess & Sketch: Language Model Guided Transpilationcited by 3
- 2022SIMD2: A Generalized Matrix Instruction Set for Accelerating Tensor Computation beyond GEMMcited by 2
- 2015MADNESS: A Multiresolution, Adaptive Numerical Environment for Scientific Simulationcited by 1
Built on by
Citing papers per year: 2025: 7; 2026: 1.
8 papers.
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Acceleratorscited by 12
- 2025hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generationcited by 2
- 2025Industrial LLM-based Code Optimization under Regulation: A Mixture-of-Agents Approachcited by 2
- 2025P4OMP: Retrieval-Augmented Prompting for OpenMP Parallelism in Serial Codecited by 1
- 2025Iceberg: Enhancing HLS Modeling with Synthetic Datacited by 1
- 2025ELK: Exploring the Efficiency of Inter-core Connected AI Chips with Deep Learning Compiler Techniquescited by 0
- 2025Exploring the Feasibility of End-to-End Large Language Model as a Compilercited by 0
- 2026LACE: Large Language Model Aided Multi-Agent Framework for Agile RISC-V Instruction Extensioncited by 0
- 2026LACE: Large Language Model Aided Multi-Agent Framework for Agile RISC-V Instruction Extension3 Aug 2026
- 2025Exploring the Feasibility of End-to-End Large Language Model as a Compiler6 Nov 2025
- 2025Industrial LLM-based Code Optimization under Regulation: A Mixture-of-Agents Approach5 Aug 2025
- 2025ELK: Exploring the Efficiency of Inter-core Connected AI Chips with Deep Learning Compiler Techniques15 Jul 2025
- 2025Iceberg: Enhancing HLS Modeling with Synthetic Data14 Jul 2025
- 2025P4OMP: Retrieval-Augmented Prompting for OpenMP Parallelism in Serial Code28 Jun 2025
- 2025hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation5 Jun 2025
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Accelerators24 May 2025