Cargando…
Porting CMS Heterogeneous Pixel Reconstruction to Kokkos
Programming for a diverse set of compute accelerators in addition to the CPU is a challenge. Maintaining separate source code for each architecture would require lots of effort, and development of new algorithms would be daunting if it had to be repeated many times. Fortunately there are several por...
Autores principales: | , , , , |
---|---|
Lenguaje: | eng |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | https://dx.doi.org/10.1051/epjconf/202125103034 http://cds.cern.ch/record/2764483 |
_version_ | 1780971118017904640 |
---|---|
author | Kortelainen, Matti J. Kwok, Martin Childers, Taylor Strelchenko, Alexei Wang, Yunsong |
author_facet | Kortelainen, Matti J. Kwok, Martin Childers, Taylor Strelchenko, Alexei Wang, Yunsong |
author_sort | Kortelainen, Matti J. |
collection | CERN |
description | Programming for a diverse set of compute accelerators in addition to the CPU is a challenge. Maintaining separate source code for each architecture would require lots of effort, and development of new algorithms would be daunting if it had to be repeated many times. Fortunately there are several portability technologies on the market such as Alpaka, Kokkos, and SYCL. These technologies aim to improve the developer’s productivity by making it possible to use the same source code for many different architectures. In this paper we use heterogeneous pixel reconstruction code from the CMS experiment at the CERNL LHC as a realistic use case of a GPU-targeting HEP reconstruction software, and report experience from prototyping a portable version of it using Kokkos. The development was done in a standalone program that attempts to model many of the complexities of a HEP data processing framework such as CMSSW. We also compare the achieved event processing throughput to the original CUDA code and a CPU version of it. |
id | cern-2764483 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2021 |
record_format | invenio |
spelling | cern-27644832023-01-31T09:07:49Zdoi:10.1051/epjconf/202125103034http://cds.cern.ch/record/2764483engKortelainen, Matti J.Kwok, MartinChilders, TaylorStrelchenko, AlexeiWang, YunsongPorting CMS Heterogeneous Pixel Reconstruction to Kokkosphysics.comp-phOther Fields of PhysicsProgramming for a diverse set of compute accelerators in addition to the CPU is a challenge. Maintaining separate source code for each architecture would require lots of effort, and development of new algorithms would be daunting if it had to be repeated many times. Fortunately there are several portability technologies on the market such as Alpaka, Kokkos, and SYCL. These technologies aim to improve the developer’s productivity by making it possible to use the same source code for many different architectures. In this paper we use heterogeneous pixel reconstruction code from the CMS experiment at the CERNL LHC as a realistic use case of a GPU-targeting HEP reconstruction software, and report experience from prototyping a portable version of it using Kokkos. The development was done in a standalone program that attempts to model many of the complexities of a HEP data processing framework such as CMSSW. We also compare the achieved event processing throughput to the original CUDA code and a CPU version of it.Programming for a diverse set of compute accelerators in addition to the CPU is a challenge. Maintaining separate source code for each architecture would require lots of effort, and development of new algorithms would be daunting if it had to be repeated many times. Fortunately there are several portability technologies on the market such as Alpaka, Kokkos, and SYCL. These technologies aim to improve the developer productivity by making it possible to use the same source code for many different architectures. In this paper we use heterogeneous pixel reconstruction code from the CMS experiment at the CERNL LHC as a realistic use case of a GPU-targeting HEP reconstruction software, and report experience from prototyping a portable version of it using Kokkos. The development was done in a standalone program that attempts to model many of the complexities of a HEP data processing framework such as CMSSW. We also compare the achieved event processing throughput to the original CUDA code and a CPU version of it.arXiv:2104.06573FERMILAB-CONF-21-063-SCDoai:cds.cern.ch:27644832021 |
spellingShingle | physics.comp-ph Other Fields of Physics Kortelainen, Matti J. Kwok, Martin Childers, Taylor Strelchenko, Alexei Wang, Yunsong Porting CMS Heterogeneous Pixel Reconstruction to Kokkos |
title | Porting CMS Heterogeneous Pixel Reconstruction to Kokkos |
title_full | Porting CMS Heterogeneous Pixel Reconstruction to Kokkos |
title_fullStr | Porting CMS Heterogeneous Pixel Reconstruction to Kokkos |
title_full_unstemmed | Porting CMS Heterogeneous Pixel Reconstruction to Kokkos |
title_short | Porting CMS Heterogeneous Pixel Reconstruction to Kokkos |
title_sort | porting cms heterogeneous pixel reconstruction to kokkos |
topic | physics.comp-ph Other Fields of Physics |
url | https://dx.doi.org/10.1051/epjconf/202125103034 http://cds.cern.ch/record/2764483 |
work_keys_str_mv | AT kortelainenmattij portingcmsheterogeneouspixelreconstructiontokokkos AT kwokmartin portingcmsheterogeneouspixelreconstructiontokokkos AT childerstaylor portingcmsheterogeneouspixelreconstructiontokokkos AT strelchenkoalexei portingcmsheterogeneouspixelreconstructiontokokkos AT wangyunsong portingcmsheterogeneouspixelreconstructiontokokkos |