Exploring code portability solutions for HEP with a particle tracking test code

Traditionally, high energy physics (HEP) experiments have relied on x86 CPUs for the majority of their significant computing needs. As the field looks ahead to the next generation of experiments such as DUNE and the High-Luminosity LHC, the computing demands are expected to increase dramatically. To cope with this increase, it will be necessary to take advantage of all available computing resources, including GPUs from different vendors. A broad landscape of code portability tools-including compiler pragma-based approaches, abstraction libraries, and other tools-allow the same source code to run efficiently on multiple architectures. In this paper, we use a test code taken from a HEP tracking algorithm to compare the performance and experience of implementing different portability solutions. While in several cases portable implementations perform close to the reference code version, we find that the performance varies significantly depending on the details of the implementation. Achieving optimal performance is not easy, even for relatively simple applications such as the test codes considered in this work. Several factors can affect the performance, such as the choice of the memory layout, the memory pinning strategy, and the compiler used. The compilers and tools are being actively developed, so future developments may be critical for their deployment in HEP experiments.

Authors

Institutions

Publication Details

Journal
Frontiers in Big Data
Published
2024-10-23
DOI
https://doi.org/10.3389/fdata.2024.1485344
Citations
2
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.98

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring code portability solutions for HEP with a particle tracking test code

G. B. Cerati, Alexei Strelchenko, S. Berkman, K. H. M. Kwok et al.
2 citations
Frontiers in Big Data
Parallel Computing and Optimization Techniques
0.98
article

Exploring code portability solutions for HEP with a particle tracking test code

G. B. Cerati, Alexei Strelchenko, S. Berkman, K. H. M. Kwok, Boyana Norris, Seyong Lee, Hammad Ather, Cong Wang, Daniel Riley, M. J. Kortelainen, Allison Reinsvold Hall, Steven Lantz, M. Reid
article en
2 citations

Abstract

Traditionally, high energy physics (HEP) experiments have relied on x86 CPUs for the majority of their significant computing needs. As the field looks ahead to the next generation of experiments such as DUNE and the High-Luminosity LHC, the computing demands are expected to increase dramatically. To cope with this increase, it will be necessary to take advantage of all available computing resources, including GPUs from different vendors. A broad landscape of code portability tools-including compiler pragma-based approaches, abstraction libraries, and other tools-allow the same source code to run efficiently on multiple architectures. In this paper, we use a test code taken from a HEP tracking algorithm to compare the performance and experience of implementing different portability solutions. While in several cases portable implementations perform close to the reference code version, we find that the performance varies significantly depending on the details of the implementation. Achieving optimal performance is not easy, even for relatively simple applications such as the test codes considered in this work. Several factors can affect the performance, such as the choice of the memory layout, the memory pinning strategy, and the compiler used. The compilers and tools are being actively developed, so future developments may be critical for their deployment in HEP experiments.

Frontiers in Big DataVol. 7
Oak Ridge National Laboratory (US), Fermi National Accelerator Laboratory (US), University of Oregon (US), United States Naval Academy (US), Cornell University (US), Clemson University (US), Michigan State University (US)
National Science Foundation, U.S. Department of Energy, Office of Science, Advanced Scientific Computing Research, High Energy Physics, Oak Ridge National Laboratory
Affordable and clean energy
Openalex Percentile: Top 24%
Parallel Computing and Optimization Techniques
0.98
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.