Automatic Code Generation for SIMD Hardware Accelerators - Mines Paris Accéder directement au contenu
Rapport Année : 2010

Automatic Code Generation for SIMD Hardware Accelerators


SIMD hardware accelerators o er an alternative to manycores when energy consumption and performance are critical. For scienti c computing, GPGPUs are used in many computers of the top-500. But embedded processors also use accelerators. However such heterogeneous platforms trade ease of developments for performance: The application code and the data must be split between the host and the accelerator, synchronizations and communications between host and accelerator must be added, and accelerator hardware constraints must be taken into account by the programmer. To ease application development, we present an algorithm to automatically externalize the execution of a parallel loop using a synchronous master/slave protocol. The source-to-source transformation process is incrementally consistent and the transformed code can be executed at any step of the transformation algorithm, which make application and compiler debugging easier and possible without the target hardware. This article details the source-to-source parallel loop externalization algorithm and the new elementary program transformations which are used. Unlike previous work based on annotations or polyhedral model, it relies on interprocedural array region analysis, which embraces more situations than the polyhedral model while still not relying on user input. It has been implemented in the PIPS framework and its results are given at each transformation step for an image processing example.
Fichier principal
Vignette du fichier
A-425.pdf (177.65 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00881211 , version 1 (10-12-2013)


  • HAL Id : hal-00881211 , version 1


Serge Guelton, François Irigoin, Ronan Keryell. Automatic Code Generation for SIMD Hardware Accelerators. 2010. ⟨hal-00881211⟩
161 Consultations
94 Téléchargements


Gmail Facebook X LinkedIn More