Unifying Static and Dynamic Intermediate Languages for Accelerator Generators
Caleb Kim, Pai Li, Anshuman Mohan, Andrew Butt, Adrian Sampson, Rachit Nigam
摘要
Compilers for accelerator design languages (ADLs) translate high-level languages into application-specific hardware. ADL compilers rely on a hardware control interface to compose hardware units. There are two choices: static control, which relies on cycle-level timing; or dynamic control, which uses explicit signalling to avoid depending on timing details. Static control is efficient but brittle; dynamic control incurs hardware costs to support compositional reasoning. Piezo is an ADL compiler that unifies static and dynamic control in a single intermediate language (IL). Its key insight is that the IL’s static fragment is a refinement of its dynamic fragment: static code admits a subset of the run-time behaviors of the dynamic equivalent. Piezo can optimize code by combining facts from static and dynamic submodules, and it opportunistically converts code from dynamic to static control styles. We implement Piezo as an extension to an existing dynamic ADL compiler, Calyx. We use Piezo to implement a frontend for an existing ADL, a systolic array generator, and a packet-scheduling hardware generator to demonstrate its optimizations and the static–dynamic interactions it enables.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A compiler infrastructure for accelerator generators 引用了 Predictable accelerator design with time-sensitive affine types
- A compiler infrastructure for accelerator generators 引用了 Type-directed scheduling of streaming accelerators
- Understanding Accelerator Compilers via Performance Profiling 引用了 A compiler infrastructure for accelerator generators
- Understanding Accelerator Compilers via Performance Profiling 引用了 Predictable accelerator design with time-sensitive affine types
- HIR: An MLIR-based Intermediate Representation for Hardware Accelerator Description 引用了 Predictable accelerator design with time-sensitive affine types
- HIR: An MLIR-based Intermediate Representation for Hardware Accelerator Description 引用了 Type-directed scheduling of streaming accelerators
- Modular Hardware Design with Timeline Types 引用了 A compiler infrastructure for accelerator generators
- 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
- Anvil: A General-Purpose Timing-Safe Hardware Description Language 引用了 HIR: An MLIR-based Intermediate Representation for Hardware Accelerator Description
- Anvil: A General-Purpose Timing-Safe Hardware Description Language 引用了 Modular Hardware Design with Timeline Types
- Type-directed scheduling of streaming accelerators 引用了 Predictable accelerator design with time-sensitive affine types
引用它的顶会 Paper2
它引用的 Paper7
- Predictable accelerator design with time-sensitive affine typesRachit Nigam, Sachille Atapattu, Samuel Thomas, Zhijing Li 等PLDI 2020 · 58 次引用
- A compiler infrastructure for accelerator generatorsRachit Nigam, Samuel Thomas, Zhijing Li, Adrian SampsonASPLOS 2021 · 54 次引用
- Type-directed scheduling of streaming acceleratorsDavid Durst, Matthew Feldman, Dillon Huff, David Akeley 等PLDI 2020 · 49 次引用
- Modular Hardware Design with Timeline TypesRachit Nigam, Pedro Henrique Azevedo de Amorim, Adrian SampsonPLDI 2023 · 16 次引用
- HIR: An MLIR-based Intermediate Representation for Hardware Accelerator DescriptionKingshuk Majumder, Uday BondhugulaASPLOS 2023 · 12 次引用
相关 Paper
- Stepwise Debugging for Hardware AcceleratorsGriffin Berlstein, Rachit Nigam, Christophe Gyurgyik, Adrian SampsonASPLOS 2023 · 2 次引用
- Allo: A Programming Model for Composable Accelerator DesignHongzheng Chen, Niansong Zhang, Shaojie Xiang, Zhichen Zeng 等PLDI 2024 · 41 次引用
- CRUSH: A Credit-Based Approach for Functional Unit Sharing in Dynamically Scheduled HLSJiahui Xu, Lana JosipovicASPLOS 2025 · 1 次引用
- Graph.hls: A Compiler Framework for Composable Graph Accelerator DesignFeiyang Wu, Xuxiao Yang, Zhuohang Bian, Jing Wang 等ISCA 2026 · 1 次引用
- Exocompilation for productive programming of hardware acceleratorsYuka Ikarashi, Gilbert Louis Bernstein, Alex Reinking, Hasan Genc 等PLDI 2022 · 56 次引用
