Challenges Porting a C plus plus Template-Metaprogramming Abstraction Layer to Directive-Based Offloading

被引:1
|
作者
Kelling, Jeffrey [1 ]
Bastrakov, Sergei [2 ]
Debus, Alexander [2 ]
Kluge, Thomas [2 ]
Leinhauser, Matt [3 ,4 ]
Pausch, Richard [2 ]
Steiniger, Klaus [2 ]
Stephan, Jan [4 ]
Widera, Rene [2 ]
Young, Jeff [4 ,5 ]
Bussmann, Michael [4 ]
Chandrasekaran, Sunita [3 ]
Juckeland, Guido [1 ]
机构
[1] Helmholtz Zentrum Dresden Rossendorf HZDR, Dept Informat Serv & Comp, Bautzner Landstr 400, D-01328 Dresden, Germany
[2] Helmholtz Zentrum Dresden Rossendorf HZDR, Inst Radiat Phys, Bautzner Landstr 400, D-01328 Dresden, Germany
[3] Univ Delaware, Dept CIS, Newark, DE 19716 USA
[4] Ctr Adv Syst Understanding CASUS, Untermarkt 20, D-02826 Gorlitz, Germany
[5] Georgia Tech, Sch Comp Sci, Atlanta, GA 30332 USA
关键词
C plus; OpenACC; OpenMP; Offloading;
D O I
10.1007/978-3-030-97759-7_5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:92 / 111
页数:20
相关论文
共 9 条
  • [1] AutoTuneTMP: Auto-Tuning in C plus plus With Runtime Template Metaprogramming
    Pfander, David
    Brunn, Malte
    Pflueger, Dirk
    2018 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW 2018), 2018, : 1123 - 1132
  • [2] Ungar - A C plus plus Framework for Real-Time Optimal Control Using Template Metaprogramming
    De Vincenti, Flavio
    Coros, Stelian
    2023 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2023, : 6297 - 6303
  • [3] Dymaxion plus plus : A Directive-based API to Optimize Data Layout and Memory Mapping for Heterogeneous Systems
    Che, Shuai
    Meng, Jiayuan
    Skadron, Kevin
    PROCEEDINGS OF 2014 IEEE INTERNATIONAL PARALLEL & DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2014, : 917 - 925
  • [4] Discontinuous Galerkin Method on Three-Dimensional Tetrahedral Grids. The Use of Template Metaprogramming of the C plus plus Language
    Krasnov, M. M.
    Ladonkina, M. E.
    PROGRAMMING AND COMPUTER SOFTWARE, 2017, 43 (03) : 172 - 183
  • [5] Practical Sparse Matrices in C plus plus with Hybrid Storage and Template-Based Expression Optimisation
    Sanderson, Conrad
    Curtin, Ryan
    MATHEMATICAL AND COMPUTATIONAL APPLICATIONS, 2019, 24 (03)
  • [6] Multi-layer features template update object tracking algorithm based on SiamFC plus
    Lu, Xiaofeng
    Wang, Xuan
    Wang, Zhengyang
    Hei, Xinhong
    EURASIP JOURNAL ON IMAGE AND VIDEO PROCESSING, 2024, 2024 (01)
  • [7] The fabrication and wear properties of C/Al and (C plus SiC)/Al composites based on wood template
    Wang, Tian-Chi
    Fan, Tong-Xiang
    Zhang, Di
    Zhang, Guo-Ding
    MATERIALS LETTERS, 2006, 60 (21-22) : 2695 - 2699
  • [8] Growth kinetics and structural perfection of (InN)1/(GaN)1-20 short-period superlattices on plus c-GaN template in dynamic atomic layer epitaxy
    Kusakabe, Kazuhide
    Hashimoto, Naoki
    Itoi, Takaomi
    Wang, Ke
    Imai, Daichi
    Yoshikawa, Akihiko
    APPLIED PHYSICS LETTERS, 2016, 108 (15)
  • [9] (S plus C)-band polymer waveguide amplifier based on Tm3+and Er3+layer-doped core-shell nanoparticles
    Fu, Yuewu
    Sun, Tonghe
    Li, Jun
    Tang, Ying
    Yang, Yu
    Tao, Siliang
    Wang, Fei
    Zhang, Daming
    Qin, Guanshi
    Jia, Zhixu
    Zhao, Dan
    Qin, Weiping
    OPTICS LETTERS, 2023, 48 (02) : 391 - 394