The peculiarities of the parallel implementation of Particle-In-Cell method
Vestnik Udmurtskogo universiteta. Matematika, mehanika, kompʹûternye nauki, Tome 28 (2018) no. 3, pp. 419-426

Voir la notice de l'article provenant de la source Math-Net.Ru

Particle-In-Cell (PIC) method is widely used for plasma simulation and the GPUs appear to be the most efficient way to run this method. In this work we propose a technique that enables one to speed up one of the most time-consuming operations in the GPU implementation of the PIC method. The operation is particle reordering, or redistribution of particles between cells, which is performed after pushing. The reordering operation provides data locality which is the key performance issue of the PIC method. We propose to divide the reordering into two stages. First, gather the particles that are going to leave a particular cell into arrays, the number of arrays being equal to the number of neighbor cells (26 for 3D case). Second, each neighbor cell copies the particles from the necessary array to its own particle array. The second operation is done in 26 threads independently with no synchronization or waiting and involves no critical sections, semaphores, mutexes, atomic operations etc. It results in the more than 10 times reduction of the reordering time compared to the straightforward reordering algorithm.
Keywords: optimization, GPU, PIC.
Mots-clés : simulation
@article{VUU_2018_28_3_a10,
     author = {A. A. Romanenko and A. V. Snytnikov},
     title = {The peculiarities of the parallel implementation of {Particle-In-Cell} method},
     journal = {Vestnik Udmurtskogo universiteta. Matematika, mehanika, kompʹ\^uternye nauki},
     pages = {419--426},
     publisher = {mathdoc},
     volume = {28},
     number = {3},
     year = {2018},
     language = {en},
     url = {http://geodesic.mathdoc.fr/item/VUU_2018_28_3_a10/}
}
TY  - JOUR
AU  - A. A. Romanenko
AU  - A. V. Snytnikov
TI  - The peculiarities of the parallel implementation of Particle-In-Cell method
JO  - Vestnik Udmurtskogo universiteta. Matematika, mehanika, kompʹûternye nauki
PY  - 2018
SP  - 419
EP  - 426
VL  - 28
IS  - 3
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/VUU_2018_28_3_a10/
LA  - en
ID  - VUU_2018_28_3_a10
ER  - 
%0 Journal Article
%A A. A. Romanenko
%A A. V. Snytnikov
%T The peculiarities of the parallel implementation of Particle-In-Cell method
%J Vestnik Udmurtskogo universiteta. Matematika, mehanika, kompʹûternye nauki
%D 2018
%P 419-426
%V 28
%N 3
%I mathdoc
%U http://geodesic.mathdoc.fr/item/VUU_2018_28_3_a10/
%G en
%F VUU_2018_28_3_a10
A. A. Romanenko; A. V. Snytnikov. The peculiarities of the parallel implementation of Particle-In-Cell method. Vestnik Udmurtskogo universiteta. Matematika, mehanika, kompʹûternye nauki, Tome 28 (2018) no. 3, pp. 419-426. http://geodesic.mathdoc.fr/item/VUU_2018_28_3_a10/