Automatic task-based parallelization of C++ applications by source-to-source transformations - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2020

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

Résumé

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
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

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

Identifiants

  • HAL Id : hal-02867413 , version 1

Citer

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⟩
335 Consultations
530 Téléchargements

Partager

Gmail Facebook X LinkedIn More