Programming Models & Languages
TimeWednesday, June 19th8:30am - 8:40am
DescriptionDomain-specific languages (DSLs) and code generation techniques have been an active field of research gaining momentum in the last years.
The ExaStencils code generation framework and its multi-layered external DSL ExaSlang provide pioneering work in the field of PDE solvers.
Their main focus lies on multigrid methods for (block-) structured grids.
In this talk, we demonstrate how this approach can be extended to new application domains and how it can be coupled to external tools.
For the first part, we implement a solver for the hyperbolic shallow water equations (SWE) discretized with discontinuous Galerkin (DG).
Using Python as alternative means of input allows us to express core concepts in a natural way.
After performing symbolic manipulations, generation of massively parallel implementations running on CPU and GPU is possible via mapping to ExaSlang.
For the second part, we showcase how ExaStencils can be used as an evaluation platform to perform automatic solver composition based on genetic programming.
We conclude by presenting our vision of a fully automated code generation pipeline combining multiple tools and approaches to deliver ultimate performance for a wide range of use cases.