arXiv:2610.31917cs.PFOct 2026

Manuscript Offprint

arXiv:2610.31917

Energy-Aware Performance Characterization of Kokkos Kernels Across Precision Levels

Maria Patrou, Andrey Prokopenko, Aditya Kashi, Oscar Hernandez, Jean-Luc Fattebert

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Kokkos is a performance-portable programming model used in GPU-accelerated HPC applications comprising kernels with diverse computational and memory behaviors. We characterize kernels from two applications to evaluate how FP32, FP64, and mixed FP32/FP64 affect arithmetic intensity, performance throughput, and GPU energy consumption. We introduce an Energy-Aware Roofline Model that incorporates energy into performance analysis and a Thermal-Aware Inter-Kernel Energy Model that visualizes energy consumption alongside duration, GPU temperature, and execution order. We study both applications with: (1) fine-grained, application-level instrumentation through the Kokkos Performance Tools PAPI Connector and (2) coarse-grained PAPI instrumentation applied to a dedicated-kernel benchmark using vendor-specific power management components. Our analysis shows that precision effects vary by application, kernel, and workload. Mixed FP32/FP64 kernels generally achieve arithmetic intensity comparable to FP32, with modestly lower throughput and, in most cases, a modest increase in energy consumption. FP64 kernels generally exhibit the highest energy consumption among the evaluated precision configurations.

1 Introduction

Energy consumption has become a first-order concern in high-performance computing (HPC) systems and data centers, on par with raw performance. Modern supercomputers face strict power budgets (e.g., a 30 MW cap for exascale systems), making energy efficiency essential. The Green500 list ranks supercomputers by “FLOPS per Watt”, highlighting the push for maximizing computational work per unit energy. Consequently, HPC application developers must optimize not only runtime performance but also energy usage.

Scientific applications often consist of multiple computational kernels or phases, each with different characteristics (compute-intensive, memory-intensive, network-intensive etc.). Traditionally, performance models such as the Roofline model [1] help developers identify performance bottlenecks by relating attainable performance throughput (in flop/s) to a kernel's arithmetic intensity (flop/byte). By plotting these quantities and comparing them against hardware ceilings, namely peak compute capability and peak memory bandwidth, the model reveals whether a kernel is compute-bound or memory-bound, and how far it is from the achievable limits of the architecture. However, data points in the Roofline model alone do not quantify the energy required to complete a kernel. For a complete performance analysis, developers need to compare throughput with completion time and energy usage, then locate costly regions within application execution.

We present two complementary performance visualization models for this task on graphics processing units (GPUs). The Energy-Aware Roofline Model connects arithmetic intensity and achieved throughput to measured GPU energy. The Thermal-Aware Inter-Kernel Energy Model compares region duration and energy while recording their temperatures and execution order.

This paper makes the following contributions:

  • Energy-Focused Models: We combine energy-aware Roofline analysis with a view of region/kernel energy, duration, execution order, and temperature. Power reference lines distinguish average power from accumulated energy. Together, the models identify costly computation and describe its execution context, including regions without floating-

*Oak Ridge National Laboratory

This manuscript has been authored by UT-Battelle, LLC, under contract DE-AC05-00OR22725 with the U.S. Department of Energy. The United States Government retains and the publisher, by accepting the article for publication, acknowledges that the United States Government retains a nonexclusive, paid-up, irrevocable, world-wide license to publish or reproduce the published form of this manuscript, or allow others to do so, for United States Government purposes. The DOE will provide public access to these results in accordance with the DOE Public Access Plan (http://energy.gov/downloads/doe-public-access-plan).

point operations. We evaluate this characterization capability.

  • Multi-Application Precision Analysis: We analyze kernels from two applications (LOBPCG and ArborX) at various floating-point precisions in data and operations (FP32 vs FP64) to expose the impact of precision on time-to-solution, energy, power, and temperature. At a time when scientists are looking at how to incorporate low precision and mixed precision algorithms in their computations [2], our approach provides more insight into the impact of these techniques. Eigensolvers of the Locally Optimal Block Preconditioned Conjugate Gradient (LOBPCG) type are at the core of Density Functional Theory calculations that use a large fraction of HPC resources at supercomputing centers [3].

  • Energy-Aware Instrumentation Methodology Comparison: We compare the region-level method with Kokkos-tools and PAPI used in ArborX with the dedicated-kernel benchmark used in the LOBPCG eigensolver. We provide advantages and limitations when using both techniques to collect and analyze the data.

Together, these contributions address three research questions:

RQ1: How does incorporating energy consumption into Roofline analysis provide a broader multi-objective view of individual GPU kernel behavior?

RQ2: What does the Thermal-Aware Inter-Kernel Energy Model reveal about region/kernel energy costs and temperature during application execution?

RQ3: How do numerical precision and workload affect kernel-level performance, energy consumption, and thermal behavior across Kokkos-based GPU applications?

References (38)