Answers are grounded in this paper and cite their sources.
This paper introduces a code generator designed for extreme-scalable, matrix-free finite element operators on hybrid tetrahedral grids. It optimizes the local evaluation of bilinear forms through various techniques including tabulation, relocation of loop invariants, and interelement vectorization—implemented as transformations of an abstract syntax tree. A key contribution is the generator’s ability to optimize not only the local assembly, but also the loop over the underlying grid. To that end, the developed “cubes” loop pattern leverages local structure resulting from grid refinement and significantly enhances arithmetic intensity. Its effectiveness is established during a memory and layer condition analysis. The paper demonstrates the generator’s capabilities through a comprehensive, educational cycle of performance analysis, bottleneck identification, and emission of dedicated optimizations. For three differential operators ([Formula: see text], [Formula: see text], [Formula: see text]), the set of most effective optimizations is determined from a larger pool. They result in matrix-free operators with a kernel throughput of 1.3 to 2.1 GDoF/s, achieving up to 62% peak performance on a 36-core Intel Ice Lake socket. We make performance comparisons with a sparse matrix-vector multiplication and operators generated by the Firedrake project at increasing levels of refinement. Finally, the solution of the curl-curl problem with more than a trillion ([Formula: see text]) degrees of freedom on 21,504 processes in less than 50 s showcases the generated operators’ performance and extreme scalability as part of a full multigrid solver.
No takes yet. Share an insight, caveat, or question.
Böhm et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: