# LLVMCGO25 - CARTS: Enabling Event-Driven Task and Data Block Compilation for Distributed HPC

DevFeed: [LLVMCGO25 - CARTS: Enabling Event-Driven Task and Data Block Compilation for Distributed HPC](<https://devfeed.tech/articles/llvmcgo25-carts-enabling-event-driven-task-and-data-block-compilation-for-distributed-hpc-43114.md>)

Original publisher: [Read original article](<https://blog.llvm.org/posts/2025-03-26-llvmcgo-carts/>)

Author: Rafael Andres Herrera Guaitero

Published: 2025-08-04T00:00:00Z

Content type: article

Language: en

Sources: [LLVM Project](<https://devfeed.tech/sources/the-llvm-project-blog.md>)

Topics: [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [mlir](<https://devfeed.tech/topics/mlir.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [data](<https://devfeed.tech/topics/data.md>), [Computing](<https://devfeed.tech/topics/computing.md>)

Tags: [arts](<https://devfeed.tech/tags/arts.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [computing](<https://devfeed.tech/tags/computing.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [data](<https://devfeed.tech/tags/data.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [hpc](<https://devfeed.tech/tags/hpc.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [mlir](<https://devfeed.tech/tags/mlir.md>), [software](<https://devfeed.tech/tags/software.md>)

## AI overview

A conference blog post introduces CARTS, a compiler framework for optimizing applications in distributed high-performance computing environments. It describes how CARTS combines MLIR and LLVM and explains ARTS, an event-driven runtime based on independent tasks and data dependencies.

## Source excerpt

LLVMCGO25 - CARTS: Enabling Event-Driven Task and Data Block Compilation for Distributed HPC Hello everyone! I'm Rafael, a PhD candidate at the University of Delaware. I recently flew from Philadelphia to Las Vegas to attend the CGO conference,where I had the chance to present my project and soak in new ideas about HPC. In this blog, I'll dive into the project I discussed at the conference and share some personal insights and lessons I learned along the way.Although comments aren't enabled here, I'd love to hear from you, feel free to reach out at (rafaelhg at udel dot edu) if you're interested in collaborating, have questions, or just want to chat. Motivation: Why CARTS? Modern High-Performance Computing (HPC) and AI/ML workloads are pushing our hardware and software to the limits. Some key challenges include: Evolving Architectures: Systems now have complex memory hierarchies that need smart utilization. Hardware Heterogeneity: With multi-core CPUs, GPUs, and specialized accelerators in the mix, resource management gets tricky. Performance Pressure: Large-scale systems demand efficient handling of concurrency, synchronization, and communication. These challenges led to the creation of CARTS--a compiler framework that combines the flexibility of MLIR with the reliability of LLVM to optimize applications for distributed HPC environments. A Closer Look at ARTS and Its Inspirations At the heart of CARTS is ARTS. Originally, ARTS stood for the Abstract Runtime System.I often get mixed up and mistakenly call it the Asynchronous Runtime System. To keep things light,we sometimes joke about it being the Any Runtime System. ARTS is inspired by the Codelet model, a concept I could talk about all day!The Codelet model breaks a computation into small, independent tasks (or "codelets") that can run as soon as their data dependencies are met.If you're curious to learn more about this model (or find it delightfully abstract), I suggest you visit our research group websiteat CAPSL,