CERN Accelerating science

If you experience any problem watching the video, click the download button below
Download Embed
CMS Note
Report number CMS-CR-2023-127
Title Evaluating Performance Portability with the CMS Heterogeneous Pixel Reconstruction code
Author(s)

Andriotis, Nikolaos (CERN-based) ; Bocci, Andrea (CERN) ; Cano, Eric (CERN) ; Cappelli, Laura (INFN, Bologna) ; Di Pilato, Antonio (CASUS) ; Ferragina, Luca (INFN, Bologna) ; Hugo, Gabrielle (CERN) ; Kortelainen, Matti Johannes (Fermilab) ; Kwok, M ; Olivera Loyola, Juan Jose (CERN-based) ; Pantaleo, Felice (CERN) ; Perego, Aurora (INFN, Milan Bicocca) ; Redjeb, Wahid (Aachen, Tech. Hochsch.) ; Dewing, M ; Esseiva, J

Publication 2024
Imprint 25 Aug 2023
Number of pages 9
Published in: EPJ Web Conf. 295 (2024) 11008
Presented at 26th International Conference on Computing in High Energy & Nuclear Physics, Norfolk, Virginia, Us, 8 - 12 May 2023
DOI 10.1051/epjconf/202429511008
Subject category Detectors and Experimental Techniques
Accelerator/Facility, Experiment CERN LHC ; CMS
Keywords General
Abstract In the past years the landscape of tools for expressing parallel algorithms in a portable way across various compute accelerators has continued to evolve significantly. There are many technologies on the market that provide portability between CPU, GPUs from several vendors, and in some cases even FPGAs. These technologies include C++ libraries such as Alpaka and Kokkos, compiler directives such as OpenMP, the SYCL open specification that can be implemented as a library or in a compiler, and standard C++ where the compiler is solely responsible for the offloading. Given this developing landscape, users have to choose the technology that best fits their applications and constraints. For example, in the CMS experiment the experience so far in heterogeneous reconstruction algorithms suggests that the full application contains a large number of relatively short computational kernels and memory transfer operations. In this work we use a stand-alone version of the CMS heterogeneous pixel reconstruction code as a realistic use case of HEP reconstruction software that is capable of leveraging GPUs effectively. We summarize the experience of porting this code base from CUDA to Alpaka, Kokkos, SYCL, std par, and OpenMP offloading. We compare the event processing throughput achieved by each version on NVIDIA and AMD as well as on a CPU, and compare those to what a native version of the code achieves on each platform.
Other source Inspire

 


 Záznam vytvorený 2023-09-26, zmenený 2024-10-29


Plný text:
Nahraj plný text
PDF