GCGareth Callanan

Gareth Callanan

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Gareth Callanan has a total of 13 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

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

    by Gareth Callanan, Michail Boulasikis, Flavius Gruian

    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.

  • Open Access

    Specifying and Compiling Scalable Networks of Actors for Software and Hardware Platforms

    by Gareth Callanan, Flavius Gruian

    Streaming applications are often described using dataflow actor models with a fixed network structure, allowing for static analysis and efficient hardware implementation. However, this fixed structure hinders scalability and design space exploration. This article investigates a representative dataflow toolchain, the StreamBlock compiler for the CAL actor language, along with its Actor Machine (AM) Intermediate Representation (IR), identifying limitations in handling parametric application specifications. To address these limitations, we extend CAL to support parametric actor and network specifications allowing a single description to capture multiple problem sizes. We demonstrate these extensions with a parametric QR Decomposition application and benchmarks from the Savina Actor Benchmark Suite. When compiling actor specifications to software or hardware, the AM IR is used for optimisation purposes. The AM defines a controller specifying how actors should behave at runtime. We show that as the complexity of the actor increases, the AM model scales poorly, leading to compilation failing. In this work, we improve the AM model enabling the compilation of actors up to six times larger than previously possible. For specifications targeting FPGAs, we offer an alternative to the AM designed to take better advantage of available hardware parallelism. Our results show that this controller scales better with the size of the actor compared to the AM controller, reducing latency significantly for a slight increase in resources used. These contributions extend CAL’s applicability, making it easier to specify and scale a broader range of streaming applications.


  • Open Access

    Scalable Actor Networks with CAL

    by Gareth Callanan, Flavius Gruian

    Dataflow is a Model of Computation (MoC) that describes applications as networks of actors. The CAL Actor Language (CAL) is one of the programming languages for describing such actors. A downside to CAL is that the actors and their networks are rigidly defined - it is not possible to have a parametric number of ports or actions in an actor. This makes it difficult to define flexible applications or large actors without extra programmer effort. The key contribution of this paper is the addition of constructs to CAL to allow for parametric actor and network creation. These constructs include defining and using arrays and sub-arrays ports, as well as a generate statement for creating multiple similar actions. We give examples of the types of parametric applications that our new constructs enable. We use our work to demonstrate some of the limitations in dataflow tools when applied to non-trivial actors. We focus on the processing effort required to transform an actor into an intermediate representation (IR). We make the case for future research to use parametric actors to test the scaling of dataflow toolchains.


  • Open Access

    Prospects of GPU Tensor Core Correlation for the SMA and the ngEHT

    by Wei Yu, John W. Romein, L. Jonathan Dursi, Ru-Sen Lu, Adrian Pope, Gareth Callanan, Dominic W. Pesce, Lindy Blackburn, Bruce Merry, Ranjani Srinivasan, et al.

    Building on the base of the existing telescopes of the Event Horizon Telescope (EHT) and ALMA, the next-generation EHT (ngEHT) aspires to deploy ∼10 more stations. The ngEHT targets an angular resolution of ∼15 microarcseconds. This resolution is achieved using Very Long Baseline Interferometry (VLBI) at the shortest radio wavelengths ∼1 mm. The Submillimeter Array (SMA) is both a standalone radio interferometer and a station of the EHT and will conduct observations together with the new ngEHT stations. The future EHT + ngEHT array requires a dedicated correlator to process massive amounts of data. The current correlator-beamformer (CBF) of the SMA would also benefit from an upgrade, to expand the SMA’s bandwidth and also match the EHT + ngEHT observations. The two correlators share the same basic architecture, so that the development time can be reduced using common technology for both applications. This paper explores the prospects of using Tensor Core Graphics Processing Units (TC GPU) as the primary digital signal processing (DSP) engine. This paper describes the architecture, aspects of the detailed design, and approaches to performance optimization of a CBF using the “FX” approach. We describe some of the benefits and challenges of the TC GPU approach.