FGFlavius Gruian

Flavius Gruian

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Flavius Gruian has a total of 15 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

    General Purpose AI Computing: Opportunities and Challenges

    by Hakan Grahn, Christoph Kessler, Flavius Gruian, Jorn Janneck, Anton Borg, August Ernstsson, Michail Boulasikis, Sehrish Qummar, Christoffer Aleskog

  • 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

    Navigating the Challenges and Opportunities of Securing Internet of Autonomous Vehicles With Lightweight Authentication

    by Hazem Ismail Ali, Harrison Kurunathan, Mohamed Hamdy Eldefrawy, Flavius Gruian, Magnus Jonsson

    The Internet of Things (IoT) can be defined as the network of physical objects, or "things," embedded with sensors and software for processing and exchanging data with other devices and ecosystems using the Internet as a medium. With its rapid growth over the past decade, it has permeated several application domains, including intelligent vehicular systems. The Internet of Autonomous Vehicles (IoAV) is a subset of IoT that envisions dynamic autonomous driving without human intervention. The dynamic nature of the environment in which autonomous vehicles operate introduces significant challenges, such as real-time communication and security vulnerabilities. These challenges cannot be directly addressed by standard cybersecurity solutions designed primarily for static IoT environments. In this work, we outline the various vulnerabilities of the IoAV systems, and we delve into the critical importance of adopting lightweight security protocols. These protocols are crucial to ensure robust protection while at the same time not jeopardizing the performance of the IoAV system. We also highlight the fast lightweight security protocols implemented on heterogeneous embedded, low-power, high-performance computing platforms as a viable solution to address these challenges.


  • Open Access

    Packet-Type Aware Scheduling of Moldable Streaming Tasks on Multicore Systems with DVFS

    by Michail Boulasikis, Christoph Kessler, Flavius Gruian, Jorg W Keller, Sebastian Litzinger


  • 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.