Lightweight, generative variant exploration for high-performance graphics applications

Selgrad K, Lier A, Köferl F, Stamminger M, Lohmann D (2015)

Publication Language: English

Publication Type: Conference contribution, Original article

Publication year: 2015

Pages Range: 141-150

Conference Proceedings Title: ACM Bd. 51, Nr. 3

Event location: Pittsburgh, PA US

ISBN: 978-1-4503-3687-1

DOI: 10.1145/2814204.2814220


Rendering performance is an everlasting goal of computer graphics and significant driver for advances in both, hardware architecture and algorithms. Thereby, it has become possible to apply advanced computer graphics technology even in low-cost embedded appliances, such as car instruments. Yet, to come up with an efficient implementation, developers have to put enormous efforts into hardware/problem-specific tailoring, fine-tuning, and domain exploration, which requires profound expert knowledge. If a good solution has been found, there is a high probability that it does not work as well with other architectures or even the next hardware generation. Generative DSL-based approaches could mitigate these efforts and provide for an efficient exploration of algorithmic variants and hardware-specific tuning ideas. However, in vertically organized industries, such as automotive, suppliers are reluctant to introduce these techniques as they fear loss of control, high introduction costs, and additional constraints imposed by the OEM with respect to software and tool-chain certification. Moreover, suppliers do not want to share their generic solutions with the OEM, but only concrete instances. To this end, we propose a light-weight and incremental approach for meta programming of graphics applications. Our approach relies on an existing formulation of C-like languages that is amenable to meta programming, which we extend to become a lightweight language to combine algorithmic features. Our method provides a concise notation for meta programs and generates easily sharable output in the appropriate C-style target language.

Authors with CRIS profile

Additional Organisation(s)

Related research project(s)

How to cite


Selgrad, K., Lier, A., Köferl, F., Stamminger, M., & Lohmann, D. (2015). Lightweight, generative variant exploration for high-performance graphics applications. In ACM Bd. 51, Nr. 3 (pp. 141-150). Pittsburgh, PA, US.


Selgrad, Kai, et al. "Lightweight, generative variant exploration for high-performance graphics applications." Proceedings of the 14th International Conference on Generative Programming: Concepts & Experiences (GPCE), Pittsburgh, PA 2015. 141-150.

BibTeX: Download