A

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

  1. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  2. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  3. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  4. Rice University

    Affiliation as printed

    Rice University, Houston, Texas, USA

  5. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  6. University of California San Diego

    Affiliation as printed

    UCSD, San Diego, California, USA

  7. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  8. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  9. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  10. University of California San Diego

    Affiliation as printed

    UCSD, San Diego, California, USA

  11. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  12. Massachusetts Institute of Technology

    Affiliation as printed

    MIT, Cambridge, Massachusetts, USA

  13. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  14. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  15. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  16. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  17. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  18. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  19. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  20. Massachusetts Institute of Technology

    Affiliation as printed

    MIT, Cambridge, Massachusetts, USA

  21. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  22. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  23. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  24. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  25. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  26. Fermi National Accelerator Laboratory

    Affiliation as printed

    Fermilab, Batavia, Illinois, USA

  27. Rice University

    Affiliation as printed

    Rice University, Houston, Texas, USA

  28. Rice University

    Affiliation as printed

    Rice University, Houston, Texas, USA

  29. Massachusetts Institute of Technology

    Affiliation as printed

    MIT, Cambridge, Massachusetts, USA

  30. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  31. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  32. University of California San Diego

    Affiliation as printed

    UCSD, San Diego, California, USA

  33. University of Benin · European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

    University of Benin, Benin City, Nigeria

  34. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  35. Massachusetts Institute of Technology

    Affiliation as printed

    MIT, Cambridge, Massachusetts, USA

  36. University of California San Diego

    Affiliation as printed

    UCSD, San Diego, California, USA

  37. University of California San Diego

    Affiliation as printed

    UCSD, San Diego, California, USA

  38. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  39. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  40. W. Redjeb Aachen

    European Organization for Nuclear Research · RWTH Aachen University

    Affiliation as printed

    CERN, Geneva, Switzerland

    RWTH Aachen University, Aachen, Germany

  41. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  42. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  43. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  44. Vilnius University · European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

    Vilnius University, Vilnius, Lithuania

  45. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  46. European Organization for Nuclear Research

    Affiliation as printed

    CERN, Geneva, Switzerland

  47. 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

12 results