Evaluation of performance portability frameworks for the implementation of a particle-in-cell code

被引:16
作者
Artigues, Victor [1 ,2 ]
Kormann, Katharina [2 ]
Rampp, Markus [1 ]
Reuter, Klaus [1 ]
机构
[1] Max Planck Comp & Data Facil, D-85748 Garching, Germany
[2] Max Planck Inst Plasma Phys, Garching, Germany
关键词
CUDA; Kokkos; OpenACC; OpenMP; particle in cell; performance portability; RAJA;
D O I
10.1002/cpe.5640
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper reports on an in-depth evaluation of the performance portability frameworks Kokkos and RAJA with respect to their suitability for the implementation of complex particle-in-cell (PIC) simulation codes, extending previous studies based on codes from other domains. At the example of a particle-in-cell model, we implemented the hotspot of the code in C++ and parallelized it using OpenMP, OpenACC, CUDA, Kokkos, and RAJA, targeting multi-core (CPU) and graphics (GPU) processors. Both Kokkos and RAJA appear mature, are usable for complex codes, and keep their promise to provide performance portability across different architectures. Comparing the obtainable performance on state-of-the art hardware, but also considering aspects such as code complexity, feature availability, and overall productivity, we finally draw the conclusion that the Kokkos framework would be suited best to tackle the massively parallel implementation of the full PIC model.
引用
收藏
页数:23
相关论文
共 31 条
[1]  
[Anonymous], TESL K40 GPU ACT ACC
[2]  
[Anonymous], 2019, KOKKOS PROGRAMMING G
[3]  
[Anonymous], CISC VIS NETW IND GL
[4]  
[Anonymous], 2016, RAJA USER GUIDE
[5]  
[Anonymous], 2018, OPENACC APPL PROGR I
[6]  
[Anonymous], 2016, P 7 INT WORKSH PROGR
[7]  
Barsamian Y, 2017, 2017 IEEE INT PAR DI
[8]   Performance of a Second Order Electrostatic Particle-in-Cell Algorithm on Modern Many-Core Architectures [J].
Brown, Dominic A. S. ;
Wright, Steven A. ;
Jarvis, Stephen A. .
ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2018, 340 :67-84
[9]   ISOGEOMETRIC DISCRETE DIFFERENTIAL FORMS IN THREE DIMENSIONS [J].
Buffa, A. ;
Rivas, J. ;
Sangalli, G. ;
Vazquez, R. .
SIAM JOURNAL ON NUMERICAL ANALYSIS, 2011, 49 (02) :818-844
[10]  
Cheney G, 2011, INT COMMUN ASSOC HAN, P1