Program Sequentially, Carefully, and Benefit from Compiler Advances for Parallel Heterogeneous Computing - Archive ouverte HAL Accéder directement au contenu
Chapitre D'ouvrage Année : 2012

Program Sequentially, Carefully, and Benefit from Compiler Advances for Parallel Heterogeneous Computing

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

Résumé

The current microarchitecture trend leads toward heterogeneity. This evolution is driven by the end of Moore's law and the frequency wall due to the power wall. Moreover, with the spreading of smartphone, some constraints from the mobile world drive the design of most new architectures. An immediate consequence is that an application has to be executable on various targets. Porting and maintaining multiple versions of the code base requires different skills and the efforts required in the process as well as the increased complexity in debugging and testing are time consuming, thus expensive. Some solutions based on compilers emerge. They are based either on directives added to C like in openhmpp or openacc or on automatic solution like pocc, Pluto, ppcg, or Par4All. However compilers cannot retarget in an efficient way any program written in a low-level language such as unconstrained C. Programmers should follow good practices when writing code so that compilers have more room to perform the transformations required for efficient execution on heterogeneous targets. This chapter explores the impact of different patterns used by programmers, and defines a set of good practices allowing a compiler to generate efficient code.
Fichier principal
Vignette du fichier
A-503.pdf (330.75 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01526469 , version 1 (30-05-2017)

Identifiants

Citer

Mehdi Amini, Corinne Ancourt, Béatrice Creusillet, François Irigoin, Ronan Keryell. Program Sequentially, Carefully, and Benefit from Compiler Advances for Parallel Heterogeneous Computing. Magoulès Frédéric. Patterns for Parallel Programming on GPUs, 34, Saxe-Coburg Publications, pp. 149-169, 2012, 978-1-874672-57-9 ⟨10.4203/csets.34.6⟩. ⟨hal-01526469⟩
129 Consultations
213 Téléchargements

Altmetric

Partager

Gmail Facebook Twitter LinkedIn More