CLOP: A Multi-stage Compiler to Seamlessly Embed Heterogeneous Code
Universita della Svizzera italiana, Lugano, Switzerland
14th International Conference on Generative Programming: Concepts & Experience (GPCE’15), 2015
@inproceedings{makarov2015clop,
title={CLOP: A multi-stage compiler to seamlessly embed heterogeneous code},
author={Makarov, Dmitri and Hauswirth, Matthias},
booktitle={Proceedings of the 14th International Conference on Generative Programming: Concepts and Experiences (GPCE’15). ACM},
year={2015}
}
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.
October 29, 2015 by hgpu