FlipFlop: A Static Analysis-based Energy Optimization Framework for GPU Kernels

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rajput, Saurabhsingh, Brandt, Alexander, Elisseev, Vadim, Sharma, Tushar
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911386721845248
author Rajput, Saurabhsingh
Brandt, Alexander
Elisseev, Vadim
Sharma, Tushar
author_facet Rajput, Saurabhsingh
Brandt, Alexander
Elisseev, Vadim
Sharma, Tushar
contents Artificial Intelligence (AI) applications, such as Large Language Models, are primarily driven and executed by Graphics Processing Units (GPUs). These GPU programs (kernels) consume substantial amounts of energy, yet software developers often lack the hardware expertise and ad hoc knowledge required to optimize for power efficiency. We propose FlipFlop, a framework using static code analysis to predict energy consumption and recommend Pareto-optimal thread block configurations considering both power consumption and execution time. Our framework requires no runtime execution and analyzes PTX code, a low-level instruction set for CUDA-enabled GPUs. It is validated across a diverse set of GPUs and kernels, including multi-head attention, convolution, and matrix multiplication. FlipFlop achieves 83% accuracy in identifying locally optimal energy-efficient configurations, while also minimizing developer effort by reducing the optimization search space by 93.4%. For multi-head attention kernels, it yields up to 79% energy savings and 106% throughput gains relative to NVIDIA's occupancy heuristic. By integrating static analysis with real-time monitoring and providing explainable optimization guidance, FlipFlop empowers developers to create sustainable, high-performance GPU software which minimizes environmental and computational costs.
format Preprint
id arxiv_https___arxiv_org_abs_2601_13345
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle FlipFlop: A Static Analysis-based Energy Optimization Framework for GPU Kernels
Rajput, Saurabhsingh
Brandt, Alexander
Elisseev, Vadim
Sharma, Tushar
Software Engineering
Performance
Artificial Intelligence (AI) applications, such as Large Language Models, are primarily driven and executed by Graphics Processing Units (GPUs). These GPU programs (kernels) consume substantial amounts of energy, yet software developers often lack the hardware expertise and ad hoc knowledge required to optimize for power efficiency. We propose FlipFlop, a framework using static code analysis to predict energy consumption and recommend Pareto-optimal thread block configurations considering both power consumption and execution time. Our framework requires no runtime execution and analyzes PTX code, a low-level instruction set for CUDA-enabled GPUs. It is validated across a diverse set of GPUs and kernels, including multi-head attention, convolution, and matrix multiplication. FlipFlop achieves 83% accuracy in identifying locally optimal energy-efficient configurations, while also minimizing developer effort by reducing the optimization search space by 93.4%. For multi-head attention kernels, it yields up to 79% energy savings and 106% throughput gains relative to NVIDIA's occupancy heuristic. By integrating static analysis with real-time monitoring and providing explainable optimization guidance, FlipFlop empowers developers to create sustainable, high-performance GPU software which minimizes environmental and computational costs.
title FlipFlop: A Static Analysis-based Energy Optimization Framework for GPU Kernels
topic Software Engineering
Performance
url https://arxiv.org/abs/2601.13345