Asynchronous OpenCL/MPI numerical simulations of conservation laws - Archive ouverte HAL Accéder directement au contenu
Chapitre D'ouvrage Année : 2016

Asynchronous OpenCL/MPI numerical simulations of conservation laws

Résumé

Hyperbolic conservation laws are important mathematical models for describing many phenomena in physics or engineering. The Finite Volume (FV) method and the Discon-tinuous Galerkin (DG) methods are two popular methods for solving conservation laws on computers. Those two methods are good candidates for parallel computing: • they require a large amount of uniform and simple computations, • they rely on explicit time-integration, • they present regular and local data access pattern. In this paper, we present several FV and DG numerical simulations that we have realized with the OpenCL and MPI paradigms. First, we compare two optimized implementations of the FV method on a regular grid: an OpenCL implementation and a more traditional OpenMP implementation. We compare the efficiency of the approach on several CPU and GPU architectures of different brands. Then we give a short presentation of the DG method. Finally, we present how we have implemented this DG method in the OpenCL/MPI framework in order to achieve high efficiency. The implementation relies on a splitting of the DG mesh into sub-domains and sub-zones. Different kernels are compiled according to the zones properties. In addition, we rely on the OpenCL asynchronous task graph in order to overlap OpenCL computations, memory transfers and MPI communications. This work has benefited from several supports: from the french defense agency DGA, from the Labex ANR-11-LABX-0055-IRMIA and from the AxesSim company.
Fichier principal
Vignette du fichier
helluy-iwocl-2015.pdf (923.53 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01134222 , version 1 (23-03-2015)
hal-01134222 , version 2 (16-04-2015)

Identifiants

Citer

Philippe Helluy, Thomas Strub, Michel Massaro, Malcolm Roberts. Asynchronous OpenCL/MPI numerical simulations of conservation laws. Bungartz, Hans-Joachim and Neumann, Philipp and Nagel, Wolfgang E. Software for Exascale Computing - SPPEXA 2013-2015, Springer International Publishing, pp.547--565, 2016, 978-3-319-40528-5. ⟨10.1007/978-3-319-40528-5_25⟩. ⟨hal-01134222v2⟩
608 Consultations
393 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More