Skip to Main content Skip to Navigation
Reports

Automatic Code Generation for SIMD Hardware Accelerators

Abstract : 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.
Complete list of metadata

Cited literature [17 references]  Display  Hide  Download

https://hal-mines-paristech.archives-ouvertes.fr/hal-00881211
Contributor : Claire Medrala <>
Submitted on : Tuesday, December 10, 2013 - 4:14:01 PM
Last modification on : Wednesday, October 14, 2020 - 3:52:19 AM
Long-term archiving on: : Friday, March 14, 2014 - 9:26:46 AM

File

A-425.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00881211, version 1

Citation

Serge Guelton, François Irigoin, Ronan Keryell. Automatic Code Generation for SIMD Hardware Accelerators. 2010. ⟨hal-00881211⟩

Share

Metrics

Record views

299

Files downloads

103