Particle accelerator simulation using GPUs in Accelerator Toolbox

In storage ring light sources, two important performance parameters are injection efficiency and lifetime. Accelerator particle tracking in digital twins and simulators is an approach to efficiently derive these quantities and guide the optimization of the physical accelerator machine. These calculations are resource-intensive processes that often require high-performance computing. GPU usage can be an effective strategy to achieve good performance at a reasonable cost. This paper presents the current state of GPU particle tracking code implemented in Accelerator Toolbox (AT) using OpenCL or CUDA. The GPU kernel code is dynamically generated according to the lattice definition, allowing for optimal performance and selection of the symplectic integrator. We present accuracy and performance comparisons obtained with GPUs versus those obtained with AT CPU code. Trade-offs necessary to achieve optimal results are also discussed. Additionally, we discuss GPU kernel synchronization techniques needed by collective effect elements, as well as the object-oriented code structure to facilitate the integration of other GPU APIs.

Publication Details

Journal
JACOW
Published
2025-12-05
DOI
https://doi.org/10.18429/jacow-icalepcs2025-wepd095
Primary Topic
Particle Accelerators and Free-Electron Lasers
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Particle accelerator simulation using GPUs in Accelerator Toolbox

JACOW
Particle Accelerators and Free-Electron Lasers
article

Particle accelerator simulation using GPUs in Accelerator Toolbox

article en

Abstract

In storage ring light sources, two important performance parameters are injection efficiency and lifetime. Accelerator particle tracking in digital twins and simulators is an approach to efficiently derive these quantities and guide the optimization of the physical accelerator machine. These calculations are resource-intensive processes that often require high-performance computing. GPU usage can be an effective strategy to achieve good performance at a reasonable cost. This paper presents the current state of GPU particle tracking code implemented in Accelerator Toolbox (AT) using OpenCL or CUDA. The GPU kernel code is dynamically generated according to the lattice definition, allowing for optimal performance and selection of the symplectic integrator. We present accuracy and performance comparisons obtained with GPUs versus those obtained with AT CPU code. Trade-offs necessary to achieve optimal results are also discussed. Additionally, we discuss GPU kernel synchronization techniques needed by collective effect elements, as well as the object-oriented code structure to facilitate the integration of other GPU APIs.

JACOW
Decent work and economic growth
Openalex Percentile: Top 47%
Particle Accelerators and Free-Electron Lasers
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.