Publikationsrepositorium - Helmholtz-Zentrum Dresden-Rossendorf

4 Publikationen

Challenges Porting a C++ Template-Metaprogramming Abstraction Layer to Directive-based Offloading

Kelling, J.; Bastrakov, S.; Debus, A.; Kluge, T.; Leinhauser, M.; Pausch, R.; Steiniger, K.; Stephan, J.; Widera, R.; Young, J.; Bussmann, M.; Chandrasekaran, S.; Juckeland, G.

Abstract

HPC systems employ a growing variety of compute accelerators with different architectures and from different vendors. Large scientific applications are required to run efficiently across these systems but need to retain a single code-base in order to not stifle development. Directive-based offloading programming models set out to provide the required portability, but, to existing codes, they themselves represent yet another API to port to. Here, we present our approach of porting the GPU-accelerated particle-in-cell code PIConGPU to OpenACC and OpenMP target by adding two new backends to its existing C++-template metaprogramming-based offloading abstraction layer alpaka and avoiding other modifications to the application code. We introduce our approach in the face of conflicts between requirements and available features in the standards as well as practical hurdles posed by immature compiler support.

Keywords: C++; OpenACC; OpenMP; Offloading

  • WWW-Beitrag
    https://arxiv.org/abs/2110.08650
  • Vortrag (Konferenzbeitrag) (Online Präsentation)
    Eighth Workshop on Accelerator Programming Using Directives (WACCPD) @SC21, 14.11.2021, St. Louis, USA
  • Open Access Logo Eingeladener Vortrag (Konferenzbeitrag) (Online Präsentation)
    SC21 - The International Conference for High Performance Computing, Networking, Storage, and Analysis: OpenMP Offloading and the 5.2 API Birds-of-a-Feather, 14.-19.11.2021, St. Louis, MO, USA
  • Beitrag zu Proceedings
    8th International Workshop, WACCPD 2021, 14.11.2021, St. Louis, USA
    Accelerator Programming Using Directives, Cham: Springer, 978-3-030-97758-0
    DOI: 10.1007/978-3-030-97759-7

Downloads

Permalink: https://www.hzdr.de/publications/Publ-33285