A System Level Compiler for Massively-Parallel, Spatial, Dataflow Architectures

📅 2025-06-18
📈 Citations: 0
Influential: 0
📄 PDF

career value

229K/year
🤖 AI Summary
To address the lack of efficient and portable compilers for spatial dataflow architectures—such as the Cerebras Wafer-Scale Engine—this paper introduces MACH, a system-level compiler. Methodologically, MACH introduces (i) the first virtual machine abstraction tailored to spatial architectures; (ii) a domain-specific language (DSL) with NumPy semantics, backed by a multi-level intermediate representation (IR); and (iii) an extensible multi-target lowering framework that enables co-compilation across unified memory systems and spatial hardware. By bridging high-level tensor computations—including dense NumPy operations—to low-level Wafer-Scale Engine instructions, MACH achieves end-to-end compilation while preserving semantic expressiveness. Evaluation demonstrates substantial improvements in programming productivity and cross-architecture portability, without sacrificing performance or correctness.

Technology Category

Application Category

📝 Abstract
We have developed a novel compiler called the Multiple-Architecture Compiler for Advanced Computing Hardware (MACH) designed specifically for massively-parallel, spatial, dataflow architectures like the Wafer Scale Engine. Additionally, MACH can execute code on traditional unified-memory devices. MACH addresses the complexities in compiling for spatial architectures through a conceptual Virtual Machine, a flexible domain-specific language, and a compiler that can lower high-level languages to machine-specific code in compliance with the Virtual Machine concept. While MACH is designed to be operable on several architectures and provide the flexibility for several standard and user-defined data mappings, we introduce the concept with dense tensor examples from NumPy and show lowering to the Wafer Scale Engine by targeting Cerebras'hardware specific languages.
Problem

Research questions and friction points this paper is trying to address.

Compiling for massively-parallel spatial dataflow architectures
Bridging high-level languages to machine-specific code efficiently
Supporting diverse architectures with flexible data mappings
Innovation

Methods, ideas, or system contributions that make the work stand out.

Compiler for massively-parallel spatial dataflow architectures
Virtual Machine concept for spatial architecture compilation
Flexible domain-specific language for high-level code lowering
🔎 Similar Papers
2024-04-02International Conference on Architectural Support for Programming Languages and Operating SystemsCitations: 4