Automatic task-based parallelization of C++ applications by source-to-source transformations - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2020

Automatic task-based parallelization of C++ applications by source-to-source transformations

Abstract

Currently, multi/many-core CPUs are considered standard in most types of computers including , mobile phones, PCs or supercomputers. However, the parallelization of applications as well as refactoring/design of applications for efficient hardware usage remains restricted to experts who have advanced technical knowledge and who can invest time tuning their software. In this context, the compilation community has proposed different methods for automatic pa-rallelization, but their focus is traditionally on loops and nested loops with the support of polyhedral techniques. In this study, we propose a new approach to transform sequential C++ source code into a task-based parallel one by inserting annotations. We explain the different mechanisms we used to create tasks at each function/method call, and how we can limit the number of tasks. Our method can be implemented on top of the OpenMP 4.0 standard. It is compiler-independent and can rely on external well-optimized OpenMP libraries. Finally, we provide preliminary performance results that illustrate the potential of our method.
Fichier principal
Vignette du fichier
apac2020.pdf (183.3 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-02867413 , version 1 (14-06-2020)

Identifiers

  • HAL Id : hal-02867413 , version 1

Cite

Garip Kusoglu, Bérenger Bramas, Stéphane Genaud. Automatic task-based parallelization of C++ applications by source-to-source transformations. Compas 2020 - Conférence francophone en informatique, Jun 2020, Lyon, France. ⟨hal-02867413⟩
357 View
581 Download

Share

More