Experience with the alpaka performance portability library in the CMS software
EPJ Web of Conferences, vol. 337, pp. 01141
Abstract
To achieve better computational efficiency and exploit a wider range of computing resources, the CMS software framework (CMSSW) has been extended to offload part of the physics reconstruction to NVIDIA GPUs. To support additional back-ends, as well to avoid the need to write, validate and maintain a separate implementation of the reconstruction algorithms for each back-end, CMS has adopted the alpaka performance portability library. Alpaka (Abstraction Library for Parallel Kernel Acceleration) is a header-only C++ library that provides performance portability across different back-ends, abstracting the underlying levels of parallelism. It supports serial and parallel execution on CPUs, and extremely parallel execution on NVIDIA, AMD and Intel GPUs. This contribution will show how alpaka is used in the CMS software to develop and maintain a single code base; to use different toolchains to build the code for each supported back-end, and link them into a single application; to seamlessly select the best backend at runtime, and implement portable reconstruction algorithms that run efficiently on CPUs and GPUs from different vendors. It will describe the validation and deployment of the alpaka-based implementation in the CMS High Level Trigger, and highlight how it achieves near-native performance.
Authors 47
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
Affiliation as printed
Rice University, Houston, Texas, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
University of California San Diego
Affiliation as printed
UCSD, San Diego, California, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
University of California San Diego
Affiliation as printed
UCSD, San Diego, California, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
Massachusetts Institute of Technology
Affiliation as printed
MIT, Cambridge, Massachusetts, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
Massachusetts Institute of Technology
Affiliation as printed
MIT, Cambridge, Massachusetts, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
Fermi National Accelerator Laboratory
Affiliation as printed
Fermilab, Batavia, Illinois, USA
-
Affiliation as printed
Rice University, Houston, Texas, USA
-
Affiliation as printed
Rice University, Houston, Texas, USA
-
Massachusetts Institute of Technology
Affiliation as printed
MIT, Cambridge, Massachusetts, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
University of California San Diego
Affiliation as printed
UCSD, San Diego, California, USA
-
University of Benin · European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
University of Benin, Benin City, Nigeria
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
Massachusetts Institute of Technology
Affiliation as printed
MIT, Cambridge, Massachusetts, USA
-
University of California San Diego
Affiliation as printed
UCSD, San Diego, California, USA
-
University of California San Diego
Affiliation as printed
UCSD, San Diego, California, USA
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
W. Redjeb Aachen
European Organization for Nuclear Research · RWTH Aachen University
Affiliation as printed
CERN, Geneva, Switzerland
RWTH Aachen University, Aachen, Germany
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
Vilnius University · European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
Vilnius University, Vilnius, Lithuania
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
-
European Organization for Nuclear Research
Affiliation as printed
CERN, Geneva, Switzerland
Cited by 1 stored of 1
1 result
No patents citing this paper on Lens.org (checked 2026-10-06).
References 12
-
W3104125825details pending0citations
12 results