An approach for dynamically adaptable SIMD vectorization of FEM kernels

dc.contributor.authorKadlubiak, Kristian
dc.contributor.authorMeca, Ondřej
dc.contributor.authorŘíha, Lubomír
dc.contributor.authorBrzobohatý, Tomáš
dc.date.accessioned2026-04-14T09:44:26Z
dc.date.available2026-04-14T09:44:26Z
dc.date.issued2024
dc.description.abstractThe paper focuses on the optimization of the FEM matrix kernels with respect to user-defined parameters such as materials, initial conditions, and boundary conditions that are known during run-time only. Adapting the kernels to specific parameters can save a significant amount of execution time and increase performance. Handling them efficiently is challenging due to the exponential number of potential combinations that the user can specify. The paper presents an approach that combines (a) cross-element vectorization for the easy-to-write transformation of the original scalar code to vectorized one, (b) meta-programming for utilization of a compiler for building sub- kernels tailored for a particular set of parameters, (c) and dynamic polymorphism allowing run-time selection of sub-kernels. We show that the above techniques allow (1) straightforward code modifications, (2) efficient handling of required dynamic behavior with a minor performance penalty for most kernels, and (3) achieving up to 8-fold speedups compared to non-adapted kernels.
dc.description.firstpageart. no. 109319
dc.description.sourceWeb of Science
dc.description.volume304
dc.identifier.citationComputer Physics Communications. 2024, vol. 304, art. no. 109319.
dc.identifier.doi10.1016/j.cpc.2024.109319
dc.identifier.issn0010-4655
dc.identifier.issn1879-2944
dc.identifier.urihttp://hdl.handle.net/10084/158389
dc.identifier.wos001279658300001
dc.language.isoen
dc.publisherElsevier
dc.relation.ispartofseriesComputer Physics Communications
dc.relation.urihttps://doi.org/10.1016/j.cpc.2024.109319
dc.rights© 2024 Elsevier B.V. All rights are reserved, including those for text and data mining, AI training, and similar technologies.
dc.subjectSIMD
dc.subjectFEM kernels
dc.subjectmeta-programming
dc.subjectdynamic polymorphism
dc.titleAn approach for dynamically adaptable SIMD vectorization of FEM kernels
dc.typearticle
dc.type.statusPeer-reviewed
dc.type.versionpublishedVersion

Files

License bundle

Now showing 1 - 1 out of 1 results
Loading...
Thumbnail Image
Name:
license.txt
Size:
718 B
Format:
Item-specific license agreed upon to submission
Description: