Skip to Main content Skip to Navigation
Conference papers

Efficient Abstractions for GPGPU Programming

Mathias Bourgoin 1 Emmanuel Chailloux 1 Jean-Luc Lamotte 2
1 APR - Algorithmes, Programmes et Résolution
LIP6 - Laboratoire d'Informatique de Paris 6
2 PEQUAN - Performance et Qualité des Algorithmes Numériques
LIP6 - Laboratoire d'Informatique de Paris 6
Abstract : General purpose (GP)GPU programming demands to couple highly parallel computing units with classic CPUs to obtain a high performance. Heterogenous systems lead to complex designs combining multiple paradigms and programming languages to manage each hardware architecture. In this paper, we present tools to harness GPGPU programming through the high-level OCaml programming language. We describe the SPOC library that allows to handle GPGPU subprograms (kernels) and data transfers between devices. We then present how SPOC expresses GPGPU kernel: through interoperability with common low-level extensions (from Cuda and OpenCL frameworks) but also via an embedded DSL for OCaml. Using simple benchmarks as well as a real world HPC software, we show that SPOC can offer a high performance while efficiently easing development. To allow better abstractions over tasks and data, we introduce some parallel skeletons built upon SPOC as well as composition constructs over those skeletons.
Complete list of metadatas

https://hal.archives-ouvertes.fr/hal-01216144
Contributor : Lip6 Publications <>
Submitted on : Thursday, October 15, 2015 - 4:20:22 PM
Last modification on : Thursday, March 21, 2019 - 1:00:37 PM

Identifiers

  • HAL Id : hal-01216144, version 1

Citation

Mathias Bourgoin, Emmanuel Chailloux, Jean-Luc Lamotte. Efficient Abstractions for GPGPU Programming. International Symposium on High-level Parallel Programming and Applications, Jul 2013, Paris, France. ⟨hal-01216144⟩

Share

Metrics

Record views

105