Constructing Efficient Multigrid Solvers with Genetic Programming

被引:6
|
作者
Schmitt, Jonas [1 ]
Kuckuk, Sebastian [1 ]
Koestler, Harald [1 ]
机构
[1] Friedrich Alexander Univ Erlangen Nurnberg, Chair Syst Simulat, Erlangen, Bavaria, Germany
关键词
Geometric Multigrid; Genetic Programming; Context-Free Grammar; Local Fourier Analysis; Code Generation;
D O I
10.1145/3377930.3389811
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
For many linear and nonlinear systems that arise from the discretization of partial differential equations the construction of an efficient multigrid solver is a challenging task. Here we present a novel approach for the optimization of geometric multigrid methods that is based on evolutionary computation, a generic program optimization technique inspired by the principle of natural evolution. A multigrid solver is represented as a tree of mathematical expressions which we generate based on a tailored grammar. The quality of each solver is evaluated in terms of convergence and compute performance using automated local Fourier analysis (LFA) and roofline performance modeling, respectively. Based on these objectives a multi-objective optimization is performed using grammar-guided genetic programming with a non-dominated sorting based selection. To evaluate the model-based prediction and to target concrete applications, scalable implementations of an evolved solver can be automatically generated with the ExaStencils framework. We demonstrate the effectiveness of our approach by constructing multigrid solvers for a linear elastic boundary value problem that are competitive with common V- and W-cycles.
引用
收藏
页码:1012 / 1020
页数:9
相关论文
共 50 条