The reviewed record of science sign in
Pith

arxiv: 2110.08650 · v2 · pith:BTRLMKRR · submitted 2021-10-16 · cs.PL · cs.SE

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

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:BTRLMKRRrecord.jsonopen to challenge →

classification cs.PL cs.SE
keywords offloadingabstractionapproachcodedifferentdirective-basedexistinglayer
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.