Journals - MOST Wiedzy

TASK Quarterly

GPU-BASED PARALLEL ALGORITHM OF INTERACTION INDUCED LIGHT SCATTERING SIMULATIONS IN FLUIDS

Abstract

We parallelized the sequential algorithm of the four-body correlation function if each combination of two pairs (𝑖,𝑗) and (𝑘,𝑙) was averaged over the time in a separate calculation thread. The generator of pairs used as the input for this algorithm was also parallelized and connected with the 4-body correlation function calculations. We used our algorithm to accelerate extremely intensive calculations of the 4-body polarizability anisotropy correlation functions, which were very important to estimate the interaction induced light scattering spectrum. The resulting C code was used to test our algorithm on Graphics Processing Units (GPUs) with the Compute Unified Device Architecture (CUDA) technology from NVIDIA® Corporation. As a result, we achieved 12 times the acceleration of the 4-body correlation function calculations in comparison to the Central Processing Unit (CPU) core. The peak performance of the GPU calculations was registered at the level of 19 times faster than the CPU core. We also found that acceleration depended on the memory consumption. In the single precision mode, the relative error between the CPU and GPU calculations was found to be within 0.1%.

Keywords:

GPGPU, CUDA, interaction induced phenomena, many body correlation function, parallel algorithm

Details

Issue
Vol. 23 No. 1 (2019)
Section
Research article
Published
2019-03-31
DOI:
https://doi.org/10.17466/tq2019/23.1/a
Licencja:
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Authors

ALEKSANDER DAWID

University of Dąbrowa Górnicza, Department of Transport and Computer Science

Download paper