To access the full text documents, please follow this link: http://hdl.handle.net/2117/27886

On the roles of the programmer, the compiler and the runtime system when programming accelerators in OpenMP
Ozen, Guray; Ayguadé Parra, Eduard; Labarta Mancho, Jesús José
Universitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors; Universitat Politècnica de Catalunya. CAP - Grup de Computació d'Altes Prestacions
OpenMP includes in its latest 4.0 specification the accelerator model. In this paper we present a partial implementation of this specification in the OmpSs programming model developed at the Barcelona Supercomputing Center with the aim of identifying which should be the roles of the programmer, the compiler and the runtime system in order to facilitate the asynchronous execution of tasks in architectures with multiple accelerator devices and processors. The design of OmpSs is highly biassed to delegate most of the decisions to the runtime system, which based on the task graph built at runtime (depend clauses) is able to schedule tasks in a data flow way to the available processors and accelerator devices and orchestrate data transfers and reuse among multiple address spaces. For this reason our implementation is partial, just considering from 4.0 those directives that enable the compiler the generation of the so called “kernels” to be executed on the target device. Several extensions to the current specification are also presented, such as the specification of tasks in “native” CUDA and OpenCL or how to specify the device and data privatization in the target construct. Finally, the paper also discusses some challenges found in code generation and a preliminary performance evaluation with some kernel applications.
Peer Reviewed
-Àrees temàtiques de la UPC::Informàtica::Arquitectura de computadors::Arquitectures paral·leles
-Àrees temàtiques de la UPC::Informàtica::Programació
-OpenMP
-Parallel programming (Computer science)
-OpenMP accelerator model
-OmpSs
-OpenCL
-CUDA
-OpenMP
-Programació en paral·lel (Informàtica)
Article - Submitted version
Conference Object
Springer
         

Show full item record

Related documents

Other documents of the same author

Ozen, Guray; Ayguadé Parra, Eduard; Labarta Mancho, Jesús José
Ozen, Guray; Mateo, Sergi; Ayguadé Parra, Eduard; Labarta, Jesús; Beyer, James B.
Poggi Mastrokalo, Nicolas; Carrera Pérez, David; Call, Aaron; Mendoza, Sergio; Becerra Fontal, Yolanda; Torres Viñals, Jordi; Ayguadé Parra, Eduard; Gagliardi, Fabrizio; Labarta Mancho, Jesús José; Reinauer, Rob; Vujic, Nikola; Green, Daron; Blakeley, Jose
Ciesko, Jan; Mateo, Sergi; Teruel, Xavier; Beltran Querol, Vicenç; Martorell Bofill, Xavier; Badia,, R.M.; Ayguadé Parra, Eduard; Labarta Mancho, Jesús José
 

Coordination

 

Supporters