paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Allo: A Programming Model for Composable Accelerator Design

Allo:面向可组合加速器设计的编程模型
PLDI 8(PLDI)2024匹配度 2/10 · 该论文属于领域特定语言与硬件加速器设计(HLS/ADL),与用户核心关注的静态分析、LLM/Agent 交叉、浮点程序分析、贝叶斯程序分析均无直接关系。虽然涉及 PL/编译器与 ML 系统,但研究目标不是程序分析或形式化验证,也未使用 LLM/Agent 作为工具。引用 63 inbox
Hongzheng Chen, Niansong Zhang, Shaojie Xiang, Zhichen Zeng, Mengjia Dai, Zhiru Zhang
dblp: 2026-09-10crossref: 2026-09-10arxiv: 2026-09-10

AI 速览

一句话:提出可组合编程模型 Allo,通过类型安全的定制原语自底向上组合硬件定制,支持跨函数整体优化。

随着工艺缩放收益减弱,专用硬件加速器日益重要,但现有 HLS 工具常需侵入式源码修改,而新 ADL 多适用于单内核简单设计,难以胜任多内核层次化加速器。Allo 将计算、存储、通信和数据类型等硬件定制与算法描述解耦,封装为定制原语,并以自底向上、类型安全的方式组合不同函数的定制,从而保留程序层次结构并支持跨函数边界的整体优化。作者在常用 HLS 基准和真实深度模型上评估,PolyBench 所有测试均优于 SOTA HLS/ADL;GPT2 推理延迟比 NVIDIA A100 快 1.7 倍,能效高 5.4 倍,证明其处理大规模设计的能力。

问题
现有 HLS 工具与 ADL 难以高效构建多内核、层次化的高性能空间加速器,且常需侵入式修改或仅适合简单单核设计。
方法
Allo 把计算、存储、通信与数据类型定制从算法描述中解耦为定制原语,并用自底向上、类型安全的方式组合函数级定制,保留层次结构以支持跨函数整体优化。
评估
在常用 HLS 基准和真实深度学习模型上评估;PolyBench 全部测试优于先进 HLS/ADL,GPT2 加速器延迟比 A100 快 1.7 倍、能效高 5.4 倍。
原文摘要(Abstract)

Special-purpose hardware accelerators are increasingly pivotal for sustaining performance improvements in emerging applications, especially as the benefits of technology scaling continue to diminish. However, designers currently lack effective tools and methodologies to construct complex, high-performance accelerator architectures in a productive manner. Existing high-level synthesis (HLS) tools often require intrusive sourcelevel changes to attain satisfactory quality of results. Despite the introduction of several new accelerator design languages (ADLs) aiming to enhance or replace HLS, their advantages are more evident in relatively simple applications with a single kernel. Existing ADLs prove less effective for realistic hierarchical designs with multiple kernels, even if the design hierarchy is flattened. In this paper, we introduce Allo, a composable programming model for efficient spatial accelerator design. Allo decouples hardware customizations, including compute, memory, communication, and data type from algorithm specification, and encapsulates them as a set of customization primitives. Allo preserves the hierarchical structure of an input program by combining customizations from different functions in a bottomup, type-safe manner. This approach facilitates holistic optimizations that span across function boundaries. We conduct comprehensive experiments on commonly-used HLS benchmarks and several realistic deep learning models. Our evaluation shows that Allo can outperform state-of-the-art HLS tools and ADLs on all test cases in the PolyBench. For the GPT2 model, the inference latency of the Allo generated accelerator is 1.7× faster than the NVIDIA A100 GPU with 5.4× higher energy efficiency, demonstrating the capability of Allo to handle large-scale designs.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{abs-2404-04815,
  title = {Allo: A Programming Model for Composable Accelerator Design},
  author = {Hongzheng Chen and Niansong Zhang and Shaojie Xiang and Zhichen Zeng and Mengjia Dai and Zhiru Zhang},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {PLDI},
  year = {2024},
  doi = {10.1145/3656401}
}