Evaluating Performance Portability with the CMS Heterogeneous Pixel Reconstruction code
Open Access
- 6 May 2024
- journal article
- research article
- Published by EDP Sciences in EPJ Web of Conferences
- Vol. 295, 11008
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 GPUs as well as on a CPU, and compare those to what a native version of the code achieves on each platform.Keywords
This publication has 8 references indexed in Scilit:
- Exploring the possibility of a hipSYCL-based implementation of oneAPI2022
- Porting CMS Heterogeneous Pixel Reconstruction to KokkosEPJ Web of Conferences, 2021
- Kokkos 3: Programming Model Extensions for the Exascale EraIEEE Transactions on Parallel and Distributed Systems, 2021
- Heterogeneous Reconstruction of Tracks and Primary Vertices With the CMS Pixel TrackerFrontiers in Big Data, 2020
- Bringing heterogeneity to the CMS software frameworkEPJ Web of Conferences, 2020
- Tuning and Optimization for a Variety of Many-Core Architectures Without Changing a Single Line of Implementation Code Using the Alpaka Library2017
- Alpaka -- An Abstraction Library for Parallel Kernel Acceleration2016
- Investigating Performance Portability Of A Highly Scalable Particle-In-Cell Simulation Code On Various Multi-Core Architectures2015