Skip to Main content Skip to Navigation
New interface
Reports (Research report)

PENCIL Language Specification: PENCIL (Platform-Neutral Compute Intermediate Language) Language Specification

Mohamed Riyadh Baghdadi 1 Albert Cohen 1 Tobias Grosser 1 Sven Verdoolaege 1 Anton Lokhmotov 2 Javed Absar 3 Sven van Haastregt 3 Alexey Kravets 3 Alastair Donaldson 4 
1 Parkas - Parallélisme de Kahn Synchrone
DI-ENS - Département d'informatique - ENS Paris, Inria Paris-Rocquencourt, CNRS - Centre National de la Recherche Scientifique : UMR 8548
Abstract : Programming accelerators such as GPUs with low-level APIs and languages such as OpenCL and CUDA is difficult, error prone, and not performance-portable. Automatic parallelization and domain specific languages (DSLs) have been proposed to hide this complexity and to regain some performance portability. We present PENCIL, a rigorously-defined subset of GNU C99 with specific programming rules and few extensions. Adherence to this subset and the use of these extensions enable compilers to exploit parallelism and to better optimize code when targeting accelerators. We intend PENCIL both as a portable implementation language to facilitate the acceleration of applications, and as a tractable target language for DSL compilers.
Complete list of metadata

Cited literature [10 references]  Display  Hide  Download
Contributor : Riyadh Baghdadi Connect in order to contact the contributor
Submitted on : Monday, June 1, 2015 - 9:46:22 AM
Last modification on : Wednesday, October 26, 2022 - 8:14:35 AM
Long-term archiving on: : Monday, April 24, 2017 - 7:36:16 PM


Files produced by the author(s)


  • HAL Id : hal-01154812, version 3



Mohamed Riyadh Baghdadi, Albert Cohen, Tobias Grosser, Sven Verdoolaege, Anton Lokhmotov, et al.. PENCIL Language Specification: PENCIL (Platform-Neutral Compute Intermediate Language) Language Specification. [Research Report] RR-8706, INRIA. 2015, pp.37. ⟨hal-01154812v3⟩



Record views


Files downloads