Unpublished conference/Abstract (Scientific congresses and symposiums)
Design Patterns and Performance Analysis of Polymorphism in Multiphysics FE Assembly on GPU
Arnst, Maarten; Tomasetti, Romin
2024SIAM Conference on Parallel Processing for Scientific Computing (PP24)
 

Files


Full Text
SIAM_PP_2024___polymorphism.pdf
Author postprint (2.18 MB)
Download

All documents in ORBi are protected by a user license.

Send to



Details



Keywords :
accelerated computing; gpu; finite element assembly; object-oriented programming; kokkos
Abstract :
[en] The computation of elemental system matrices and right-hand-side vectors and their assembly into sparse linear algebra data structures is a key component of FE codes. This computation naturally exposes parallelism (loops over regions of PDEs with different coefficients or of different type, loops over elements, loops over integration points, etc). This parallelism can be exploited by implementing the computation in terms of functors that are executed in Kokkos parallel regions. In this talk, we focus on such a Kokkos implementation in the context of a multiphysics FE code. Specifically, we investigate polymorphic design patterns to isolate commonality across physical applications and provide interfaces to accommodate physical application specificities (differences in data structures used for scalar-valued versus vector-valued FE basis functions, differences in actions of differential operators of different types, etc). The use of polymorphism on device can have performance impacts and is challenging in terms of code generation. We will discuss how we used and compared static and dynamic polymorphic design patterns, and analyzed the performance impact, especially on GPU (virtual function call overhead, compiler optimisations, etc). The design patterns will be illustrated and the performance will be evaluated in the context of a computational electromagnetism simulation relevant to diffraction gratings.
Disciplines :
Computer science
Author, co-author :
Arnst, Maarten ;  Université de Liège - ULiège > Département d'aérospatiale et mécanique > Computational and stochastic modeling
Tomasetti, Romin ;  Université de Liège - ULiège > Département d'aérospatiale et mécanique > Computational and stochastic modeling
Language :
English
Title :
Design Patterns and Performance Analysis of Polymorphism in Multiphysics FE Assembly on GPU
Publication date :
07 March 2024
Number of pages :
23
Event name :
SIAM Conference on Parallel Processing for Scientific Computing (PP24)
Event organizer :
SIAM
Event place :
Baltimore, United States
Event date :
from 3 to 8 march 2024
Audience :
International
Funders :
F.R.S.-FNRS - Fonds de la Recherche Scientifique [BE]
Available on ORBi :
since 21 March 2024

Statistics


Number of views
24 (9 by ULiège)
Number of downloads
18 (5 by ULiège)

Bibliography


Similar publications



Contact ORBi