ExaStencils: Advanced Stencil-Code Engineering - First Project Report

Lengauer C, Apel S, Bolten M, Größlinger A, Hannig F, Köstler H, Rüde U, Teich J, Grebhahn A, Kronawitter S, Kuckuk S, Rittich H, Schmitt C (2014)

Publication Language: English

Publication Type: Other publication type

Publication year: 2014

Publisher: Universität Passau

Journal Issue: MIP-1401

Open Access Link: http://www.fim.uni-passau.de/fileadmin/files/forschung/mip-berichte/MIP1401.pdf


Project ExaStencils pursues a radically new approach to stencil-code engineering. Present-day stencil codes are implemented in general-purpose programming languages, such as Fortran, C, or Java, or derivates thereof, and harnesses for parallelism, such as OpenMP, OpenCL or MPI. ExaStencils favors a much more domain-specific approach with languages at several layers of abstraction, the most abstract being the mathematical formulation, the most concrete the optimized target code. At every layer, the corresponding language expresses not only computational directives but also domain knowledge of the problem and platform to be leveraged for optimization. This approach will enable a highly automated code generation at all layers and has been demonstrated successfully before in the U.S. projects FFTW and SPIRAL for certain linear transforms.

Authors with CRIS profile

Related research project(s)

Involved external institutions

How to cite


Lengauer, C., Apel, S., Bolten, M., Größlinger, A., Hannig, F., Köstler, H.,... Schmitt, C. (2014). ExaStencils: Advanced Stencil-Code Engineering - First Project Report. Universität Passau.


Lengauer, Christian, et al. ExaStencils: Advanced Stencil-Code Engineering - First Project Report. Universität Passau, 2014.

BibTeX: Download