Back to overview

CLOP: A multi-stage compiler to seamlessly embed heterogeneous code

Type of publication Peer-reviewed
Publikationsform Proceedings (peer-reviewed)
Author Makarov Dmitri, Hauswirth Matthias,
Project ParaBoost: Exploiting multi-variant execution
Show all

Proceedings (peer-reviewed)

Title of proceedings ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences (GPCE'15)
Place Pittsburgh, PA, USA
DOI 10.1145/2814204.2814211

Open Access

Type of Open Access Website


Heterogeneous programming complicates software development. We present CLOP, a platform that embeds code targeting heterogeneous compute devices in a convenient and clean way, allowing unobstructed data flow between the host code and the devices, reducing the amount of source code by an order of magnitude. The CLOP compiler uses the standard facilities of the D programming language to generate code strictly at compile-time. In this paper we describe the CLOP language and the CLOP compiler implementation.