Cross-loop optimization of arithmetic intensity for finite element local assembly
File(s)coffee.pdf (574.6 KB)
Accepted version
Author(s)
Type
Journal Article
Abstract
We study and systematically evaluate a class of composable code transformations that improve arithmetic intensity in local assembly operations, which represent a significant fraction of the execution time in finite element methods. Their performance optimization is indeed a challenging issue. Even though affine loop nests are generally present, the short trip counts and the complexity of mathematical expressions, which vary among different problems, make it hard to determine an optimal sequence of successful transformations. Our investigation has resulted in the implementation of a compiler (called COFFEE) for local assembly kernels, fully integrated with a framework for developing finite element methods. The compiler manipulates abstract syntax trees generated from a domain-specific language by introducing domain-aware optimizations for instruction-level parallelism and register locality. Eventually, it produces C code including vector SIMD intrinsics. Experiments using a range of real-world finite element problems of increasing complexity show that significant performance improvement is achieved. The generality of the approach and the applicability of the proposed code transformations to other domains is also discussed.
Date Issued
2015-01-01
Date Acceptance
2014-10-01
Citation
ACM Transactions on Architecture and Code Optimization, 2015, 11 (4)
ISSN
1544-3973
Publisher
Association for Computing Machinery (ACM)
Journal / Book Title
ACM Transactions on Architecture and Code Optimization
Volume
11
Issue
4
Copyright Statement
© 2015 ACM 1539-9087/2015/01-ART57 . This is the author’s version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in ACM Transactions on Architecture and Code Optimization, http://dx.doi.org/10.1145/2687415
Publication Status
Published
Article Number
57