Performance Analysis of Low-Order, GPU-accelerated Finite Element Kernels using Kokkos
Abstract
We study performance portability for low-order, matrix-free finite element kernels, using the example of a vectorial, variable-coefficient PDE operator originating in geophysical models. Written in Kokkos, the kernel is compared on NVIDIA H100, AMD MI250X, AMD MI300A and Intel PVC Max 1550 GPUs. Owing to its low order and to optimizations that reduce the arithmetic, the kernel has a low arithmetic intensity, so that its performance is determined by how the finite element assembly is mapped onto the memory hierarchy. This is a dimension in which the architectures differ even within one vendor family, causing different performance characteristics. We examine how Kokkos' hierarchical parallelism and shared scratch memory, which are used for the shared degrees of freedom of the conforming discretization, behave on each device. Finally, we show how portability gaps can be narrowed with tuning levers such as the size of the thread groups, the balance between occupancy and register use, and the atomic accumulation strategy at the end of the kernel.
Create a lesson
Related papers
Energy-Aware Performance Characterization of Kokkos Kernels Across Precision Levels
Shared title terminology · Maria Patrou, Andrey Prokopenko, Aditya Kashi et al.
Accelerating Transfer-Learning-Based Autotuning with Predictive LLVM IR Performance Ranking
Shared title terminology · Md Arafat Hossain, Thomas Randall, Akash Dutta et al.
Accelerating Performance Inference over Closed Systems by Asymptotic Methods
Shared title terminology · Giuliano Casale
Unified Shared Memory in OpenMP: Implementation, Programmability, and Performance on Intel Accelerators
Shared title terminology · Harald Servat, François Dugast, Alejandro Duran et al.
KEET: Explaining Performance of GPU Kernels Using LLM Agents
Shared title terminology · Joshua H. Davis, Klaudiusz Rydzy, Srinivasan Ramesh et al.
Performance Optimization and Comparative Analysis of Generative AI Models on Advanced Accelerators
Shared title terminology · Amitash Nanda, Javier Hernandez Nicolau, Madhusudan Gujral et al.