Program Sequentially, Carefully, and Benefit from Compiler Advances for Parallel Heterogeneous ComputingReport as inadecuate




Program Sequentially, Carefully, and Benefit from Compiler Advances for Parallel Heterogeneous Computing - Download this document for free, or read online. Document in PDF available to download.

1 CRI - Centre de Recherche en Informatique 2 MINES ParisTech - École nationale supérieure des mines de Paris 3 HPC PROJECT

Abstract : 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.

Keywords : automatic parallelization coding rules parallel programming





Author: Mehdi Amini - Corinne Ancourt - Béatrice Creusillet - François Irigoin - Ronan Keryell -

Source: https://hal.archives-ouvertes.fr/



DOWNLOAD PDF




Related documents