Papers › Allo: A Programming Model for Composable Accelerator Design

Allo: A Programming Model for Composable Accelerator Design

7 Apr 2024arXiv:2404.04815archive 2025-07-28

Hongzheng Chen, Niansong Zhang, Shaojie Xiang, Zhichen Zeng, Mengjia Dai, Zhiru Zhang

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 source-level 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 bottom-up, 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.7x faster than the NVIDIA A100 GPU with 5.4x higher energy efficiency, demonstrating the capability of Allo to handle large-scale designs.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.04815")

Code

Syntology Ran 13 of 20 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: official repository: 20 samples from 2 repositories, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cornell-zhang/allo officialmentioned in papermentioned on GitHubApache-2.0 report
cornell-zhang/allo-pldi24-artifact officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 13 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran
7unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add cornell-zhang/allo/allo/dsl.py official repository ran fingerprinted Apache-2.0 (permissive) · 156caede4d5f8d82 · report
atax_np cornell-zhang/allo-pldi24-artifact/polybench/allo/atax/atax.py official repository ran fingerprinted Apache-2.0 (permissive) · 4856dc783b43f8f1 · report
bmm cornell-zhang/allo/allo/dsl.py official repository ran Apache-2.0 (permissive) · f04e1226b2e866ab · report
find_live_out_variable cornell-zhang/allo/allo/verify.py official repository ran Apache-2.0 (permissive) · 7241067c56508906 · report
gemm_np cornell-zhang/allo-pldi24-artifact/polybench/allo/gemm/gemm.py official repository ran Apache-2.0 (permissive) · 301f37bdadc8dd77 · report
get_np_pow2_type cornell-zhang/allo/allo/utils.py official repository ran Apache-2.0 (permissive) · 77a0e980d892d96c · report
get_np_struct_type cornell-zhang/allo/allo/utils.py official repository ran Apache-2.0 (permissive) · 0f2fd8492c4e8145 · report
getsourcefile cornell-zhang/allo/allo/customize.py official repository ran Apache-2.0 (permissive) · 254427a75d1be10e · report
matmul cornell-zhang/allo/allo/dsl.py official repository ran Apache-2.0 (permissive) · 2d968c9e47547f7b · report
np_type_to_str cornell-zhang/allo/allo/utils.py official repository ran Apache-2.0 (permissive) · 53464a64bf0b1b81 · report
three_mm_np cornell-zhang/allo-pldi24-artifact/polybench/allo/3mm/three_mm.py official repository ran Apache-2.0 (permissive) · 4bd63c32dca4cf2a · report
two_mm_np cornell-zhang/allo-pldi24-artifact/polybench/allo/2mm/two_mm.py official repository ran Apache-2.0 (permissive) · 98290762149375b8 · report
wrapped_apply cornell-zhang/allo/allo/customize.py official repository ran Apache-2.0 (permissive) · 97c24ff209cfacb4 · report
analyze_arg_load_store_in_func cornell-zhang/allo/allo/passes.py official repository unverified Apache-2.0 (permissive) · f8d709d2cdd5d57c · report
coalesce_memory_access cornell-zhang/allo/allo/memory.py official repository unverified Apache-2.0 (permissive) · b638b2ab66043fd2 · report
generate_input_output_buffers cornell-zhang/allo/allo/passes.py official repository unverified Apache-2.0 (permissive) · be739767a96a835c · report
lower_linalg_and_attach_names cornell-zhang/allo/allo/passes.py official repository unverified Apache-2.0 (permissive) · 15ab3d55edb1d040 · report
rewrite_output_variable cornell-zhang/allo/allo/verify.py official repository unverified Apache-2.0 (permissive) · c9b219fb1a29bdf8 · report
store_load_store_load_pattern cornell-zhang/allo/allo/autoscheduler/passes.py official repository unverified Apache-2.0 (permissive) · 0c07f14ad62c090b · report
verify cornell-zhang/allo/allo/verify.py official repository unverified Apache-2.0 (permissive) · aa240a45a4e178b7 · report

Tasks

High-Level Synthesismodel

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections