Shifting the Sweet Spot: High-Performance Matrix-Free Method for High-Order Elasticity
arXiv:2601.08374
Abstract
MFEM is a widely used finite-element library, but its native linear-elasticity Partial Assembly (PA) path still applies an contraction in the element operator, leaving the CPU operator-throughput sweet spot near in our baseline measurements. This work closes this implementation gap for MFEM linear elasticity on affine tensor-product hexahedral meshes by integrating four well-established tensor-product PA optimizations (sum factorization, Voigt notation, macro-kernel fusion, and slice-wise loop reorganization) into MFEM's native linear-elasticity PA path. The resulting operator is evaluated in high-order GMG-PCG solves using MFEM's geometric multigrid (GMG) components. On AMD EPYC 7713, the optimized operator achieves kernel speedup and end-to-end speedup across . At fixed problem size, the kernel-time operator throughput peaks around and remains high at , shifting the operator-throughput sweet spot to . The same trend is reproduced on Huawei~Kunpeng~920 (ARMv8.2). These results are accompanied by per-stage ablation and hardware-counter characterization; the implementation will be released on GitHub.
23 pages, 6 figures; revised manuscript with narrowed claims, expanded related work and reproducibility details, and added GMG configuration and performance-context analyses