EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Supporting Optimization and Cross-compilation of Dataflow Actor Networks via an Intermediate Representation in MLIR

Gareth Callanan, Michail Boulasikis, Flavius Gruian

ACM Transactions on Architecture and Code Optimization · 31.12.2026 · 23 (4) · 1-25

DOI: 10.1145/3849480 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Architecture and Code Optimization, online erschienen am 02.11.2026. Verfasst von Gareth Callanan und 2 weiteren Autor:innen. Die Arbeit nennt 60 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Academic Infrastructure for Supercomputing in Sweden, Excellence Center at Linköping – Lund in Information Technology.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The actor model of computation is an attractive representation for many applications because it explicitly captures concurrency and supports compile-time analyses such as buffer sizing and static scheduling. However, descriptions of applications in this model are often tied to specific frameworks and programming languages, making it difficult to integrate other frontends or target alternative architectures. To address this, we present an intermediate representation (IR) for describing actor networks, inspired by the CAL actor language. Implemented as an MLIR dialect, it uses MLIR’s existing infrastructure while introducing actor-specific transformations and analyses. Multiple frontends can target this dialect and reuse these optimizations. We transform this dialect to LLVM IR for CPU execution with multicore support. To show portability, we support GPU execution. We demonstrate the dialect’s versatility by generating descriptions in it from two frontends: one based on CAL and another on a framework for solving partial differential equations. We demonstrate that actor-level analyses can be performed directly on this IR by giving an example of a new algorithm for inferring finite-state machines (FSMs) from actors. These inferred FSMs enable static scheduling, leading to more than double the performance compared with dynamic scheduling. The IR also supports non-primitive data types such as tensors, which can be offloaded to GPUs for a significant speedup relative to CPU execution. As an alternative, we also support runtime scheduling which achieves performance comparable to other actor-based compilers when tested on the Savina Benchmark Suite. Overall, representing the actor model within MLIR allows analyses and compiler pipelines to be reused across languages and frameworks, improving interoperability and scalability.

Förderung

  • National Academic Infrastructure for Supercomputing in Sweden
  • Excellence Center at Linköping – Lund in Information Technology

Zitieren

APA

Callanan, G., Boulasikis, M., & Gruian, F. (2026). Supporting Optimization and Cross-compilation of Dataflow Actor Networks via an Intermediate Representation in MLIR. ACM Transactions on Architecture and Code Optimization, 23(4), 1-25. https://doi.org/10.1145/3849480

Vancouver

Callanan G, Boulasikis M, Gruian F. Supporting Optimization and Cross-compilation of Dataflow Actor Networks via an Intermediate Representation in MLIR. ACM Transactions on Architecture and Code Optimization. 2026;23(4):1-25. doi:10.1145/3849480

BibTeX
@article{Callanan2026,
  author = {Callanan, Gareth and Boulasikis, Michail and Gruian, Flavius},
  title = {Supporting Optimization and Cross-compilation of Dataflow Actor Networks via an Intermediate Representation in MLIR},
  journal = {ACM Transactions on Architecture and Code Optimization},
  year = {2026},
  volume = {23},
  number = {4},
  pages = {1--25},
  doi = {10.1145/3849480}
}
Kostenlos starten →