Automatic task-based parallelization of C++ applications by source-to-source transformations - Archive ouverte HAL Access content directly
Conference Papers Year :

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

(1, 2) , (1, 2) , (2)
1
2

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⟩
294 View
458 Download

Share

Gmail Facebook Twitter LinkedIn More