A compiler infrastructure for accelerator generators
Rachit Nigam, Samuel Thomas, Zhijing Li, Adrian Sampson
摘要
We present Calyx, a new intermediate language (IL) for compiling high-level programs into hardware designs. Calyx combines a hardware-like structural language with a software-like control flow representation with loops and conditionals. This split representation enables a new class of hardware-focused optimizations that require both structural and control flow information which are crucial for high-level programming models for hardware design. The Calyx compiler lowers control flow constructs using finite-state machines and generates synthesizable hardware descriptions.
We have implemented Calyx in an optimizing compiler that translates high-level programs to hardware. We demonstrate Calyx using two DSL-to-RTL compilers, a systolic array generator and one for a recent imperative accelerator language, and compare them to equivalent designs generated using high-level synthesis (HLS). The systolic arrays are 4.6× faster and 1.11× larger on average than HLS implementations, and the HLS-like imperative language compiler is within a few factors of a highly optimized commercial HLS toolchain. We also describe three optimizations implemented in the Calyx compiler.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Reticle: a virtual machine for programming modern FPGAs 引用了 LLHD: a multi-level intermediate representation for hardware description languages
- Reticle: a virtual machine for programming modern FPGAs 引用了 Predictable accelerator design with time-sensitive affine types
- Reticle: a virtual machine for programming modern FPGAs 引用了 Type-directed scheduling of streaming accelerators
- Allo: A Programming Model for Composable Accelerator Design 引用了 Modular Hardware Design with Timeline Types
- Allo: A Programming Model for Composable Accelerator Design 引用了 Predictable accelerator design with time-sensitive affine types
- Allo: A Programming Model for Composable Accelerator Design 引用了 Type-directed scheduling of streaming accelerators
- HIDA: A Hierarchical Dataflow Compiler for High-Level Synthesis 引用了 Predictable accelerator design with time-sensitive affine types
- HIDA: A Hierarchical Dataflow Compiler for High-Level Synthesis 引用了 Type-directed scheduling of streaming accelerators
- Modular Hardware Design with Timeline Types 引用了 Reticle: a virtual machine for programming modern FPGAs
- Modular Hardware Design with Timeline Types 引用了 Predictable accelerator design with time-sensitive affine types
- Modular Hardware Design with Timeline Types 引用了 Type-directed scheduling of streaming accelerators
- Type-directed scheduling of streaming accelerators 引用了 Predictable accelerator design with time-sensitive affine types
- Archytas: A Framework for Synthesizing and Dynamically Optimizing Accelerators for Robotic Localization 引用了 Type-directed scheduling of streaming accelerators
引用它的顶会 Paper14
- Allo: A Programming Model for Composable Accelerator DesignHongzheng Chen, Niansong Zhang, Shaojie Xiang, Zhichen Zeng 等PLDI 2024 · 41 次引用
- Archytas: A Framework for Synthesizing and Dynamically Optimizing Accelerators for Robotic LocalizationWeizhuang Liu, Bo Yu, Yiming Gan, Qiang Liu 等MICRO 2021 · 41 次引用
- HIDA: A Hierarchical Dataflow Compiler for High-Level SynthesisHanchen Ye, Hyegang Jun, Deming ChenASPLOS 2024 · 21 次引用
- Modular Hardware Design with Timeline TypesRachit Nigam, Pedro Henrique Azevedo de Amorim, Adrian SampsonPLDI 2023 · 16 次引用
- Reticle: a virtual machine for programming modern FPGAsLuis Vega, Joseph McMahan, Adrian Sampson, Dan Grossman 等PLDI 2021 · 8 次引用
它引用的 Paper3
- Predictable accelerator design with time-sensitive affine typesRachit Nigam, Sachille Atapattu, Samuel Thomas, Zhijing Li 等PLDI 2020 · 58 次引用
- Type-directed scheduling of streaming acceleratorsDavid Durst, Matthew Feldman, Dillon Huff, David Akeley 等PLDI 2020 · 49 次引用
- LLHD: a multi-level intermediate representation for hardware description languagesFabian Schuiki, Andreas Kurth, Tobias Grosser, Luca BeniniPLDI 2020 · 35 次引用
相关 Paper
- Stepwise Debugging for Hardware AcceleratorsGriffin Berlstein, Rachit Nigam, Christophe Gyurgyik, Adrian SampsonASPLOS 2023 · 2 次引用
- Unifying Static and Dynamic Intermediate Languages for Accelerator GeneratorsCaleb Kim, Pai Li, Anshuman Mohan, Andrew Butt 等OOPSLA 2024 · 1 次引用
- Understanding Accelerator Compilers via Performance ProfilingAyaka Yorihiro, Griffin Berlstein, Pedro Pontes García, Kevin Laeufer 等OOPSLA 2026
- Wavefront Threading Enables Effective High-Level SynthesisBlake Pelton, Adam Sapek, Ken Eguro, Daniel Lo 等PLDI 2024 · 4 次引用
- Compiling Classical Sequent Calculus to Stock Hardware: The Duality of CompilationPhilipp Schuster, Marius Müller, Klaus Ostermann, Jonathan Immanuel BrachthäuserOOPSLA 2025 · 1 次引用
