GPU Acceleration of Awkward Arrays: Using Python cuda.compute
Maksym Naumchyk, Ianna Osborne
Key points
From the paper's conclusion- We present performance studies that demonstrate improvements over previously reported eager GPU execution strategies for representative HEP analysis patterns.
Abstract
Awkward Array is a widely used library in high-energy physics (HEP) for representing and manipulating nested, variable-length data in Python. Previous CHEP contributions have explored GPU acceleration for Awkward Array, demonstrating the feasibility and performance benefits of CUDA-based backend while also identifying limitations related to irregular data access, fine-grained kernel launches, and composability of operations. In this contribution, we present recent developments that build directly on these earlier efforts by introducing a CUDA execution model for Awkward Array based on the Python CUDA Core Compute Libraries (CCCL). Using CCCL, we eliminate the need for custom CUDA kernels and can instead use a high-level Python interface. The CCCL-based approach also enables fusion of multiple Awkward operations into a reduced number of CUDA kernels, addressing kernel launch overhead observed in earlier GPU implementations. Lazy execution allows expression graphs to be constructed and optimized prior to kernel generation, improving performance for analysis workflows involving jagged arrays, combinatorial operations, and reductions. In contrast to earlier approaches, this design also emphasizes extensibility, allowing user-defined Python code to be incorporated into GPU execution paths with minimal boilerplate and without breaking existing analysis semantics. We present performance studies that demonstrate improvements over previously reported eager GPU execution strategies for representative HEP analysis patterns. These developments extend the GPU capabilities of Awkward Array toward a more composable and sustainable backend, aligned with the needs of Python-based analysis at the HL-LHC and beyond.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AscSpMM: Efficient SpMM on Ascend NPUs via Pipelined Vector-Cube CollaborationarXiv · 2026
- Hypothesis-awkward: Property-Based Testing Strategies for Awkward ArrayarXiv · 2026
- Accelerating fits in high-energy physics and beyondarXiv · 2026
- MadVfold: accelerating NLO event generation and reducing negative weights with SIMD vectorization and GPUsarXiv · 2026
- Reconstructing Fine-grained Memory Reuse Structure in GPU KernelsarXiv · 2026
- JAX-AMG: A GPU-accelerated differentiable sparse linear solver library for JAX.SoftwareX · 2026