Joule is FLOP: Optimizing Tensor-Core Kernels Beyond Latency Hiding at the GPU Power Wall

Taowen Liu, Zhiwen Mo, Hongxiang Fan, Aaron ZhaoarXiv 2026

TL;DR

For decades, GPU engineers have treated memory transfers as "free" as long as their latency is hidden behind active computation. At the modern GPU power wall, however, hidden data movement still burns watts, forcing the chip to throttle its clock speed; by redesigning kernels with a new framework called Joule to save joules instead of cycles, the authors unlock higher clock frequencies and beat NVIDIA's exhaustively tuned libraries on their own flagship hardware.

What Problem Does This Paper Address?

When you train or run large language models on modern datacenter GPUs (like NVIDIA's 1000-watt B200), the tensor cores work so furiously that the chip immediately slams into its board power limit ($P_{\text{cap}}$). To avoid melting, onboard firmware engages Dynamic Voltage and Frequency Scaling (DVFS), dialing back the clock speed until power draw equals the cap.

Under this power wall, runtime obeys a remarkably simple law of physics: $\text{Time} \approx \text{Energy} / P_{\text{cap}}$.

Traditional kernel optimization thinks purely in clock cycles: keep tensor cores 95% busy and hide memory fetches in the background. Because background data movement doesn't stall the pipeline, standard performance models treat it as free. In reality, shuffling those hidden bytes from DRAM, across dual-die interconnects, and through L2 caches consumes nearly 18% of the GPU's total power budget—directly depressing the clock frequency of the compute units. Existing profilers miss this entirely (often locking clocks during profiling), and black-box auto-tuners are trapped inside legacy kernel designs that weren't built to save energy.

Energy breakdown of an 8192³ GEMM on B200 showing data movement dropping from 17.9% to 12.6%

Methods

The authors introduce Joule, a framework that connects physical energy accounting to kernel design and scheduling through four innovations:

Figure 3: Joule overview. The energy–frequency cost model takes hardware event counts ®𝑛to predict power-capped runtime, derive PSoL speed limits, and guide kernel design and tile scheduling.
  • Multi-Domain Nonlinear Cost Model: Instead of predicting power at a fixed clock, Joule treats steady-state clock frequency as the unknown. It assigns per-byte energy costs to physical data paths (e.g., 62 pJ/B for HBM vs. 15 pJ/B for L2 reads), scales them by measured nonlinear voltage-frequency curves across domains (SM, L2, HBM), and solves for the exact frequency allowed by $P_{\text{cap}}$.
  • Power-Aware Speed of Light (PSoL): Combining classical I/O lower bounds with the energy model establishes a true power-capped speed limit ($\text{PSoL}^*$). It splits performance losses into a structural gap (caused by static choices like tile size) and an implementation gap (redundant cache re-reads or load imbalance).
  • Full-TMEM Wide Tiles with Asynchronous Rotation: Conventional Blackwell kernels split on-chip Tensor Memory (TMEM) in half for "ping-pong" double buffering to hide output readout, leaving half the accumulator capacity idle. Joule unites all of TMEM into a single wide tile—halving input data fetches—and hides readout stalls by staggering (rotating) the execution order of the left and right panels by a few steps.
  • Power-Aware Tile Scheduler: Using integer programming on the CPU, Joule partitions work across B200's two dies proportional to their actual speed, pins data in die-local memory to avoid 65 pJ/B cross-die hops, and groups compute units to maximize shared L2 reads.
Physical read paths, nonlinear domain voltage scaling, and steady-state clock solving on B200

Datasets

  • Dense GEMM Benchmarks: Evaluated across 60 dense-layer matrix shapes drawn from five Qwen3 models (up to Qwen3.8-Max) at token counts $M \in \{2\text{K}, 4\text{K}, 8\text{K}, 16\text{K}\}$ using normally distributed synthetic inputs.
  • Fused Mixture-of-Experts (Mega-MoE): Evaluated on the expert-parallel MoE layer of DeepSeek-V4-Pro across four token-routing distributions: real routing traces from a mixed corpus, the C4 dataset, AIME math prompts, and a synthetic uniform baseline.

Key Insights and Ideas

  • Fewer cycles can mean slower code: In an ablation study on B200, the kernel variant executing the fewest cycles (0.475M) was actually the slowest because its unoptimized data paths burned more energy, forcing DVFS to throttle the clock. Conversely, Joule's kernel executes 0.6% more cycles than cuBLAS best on an $8192^3$ GEMM, yet runs 5.19% faster because it cuts energy by 5.6%.
Power Roofline showing throughput tracking energy efficiency rather than SM cycle count
  • Hardware yield creates speed asymmetry: Due to manufacturing floorsweeping, one die on the dual-die B200 has 76 SMs while the other has 72. Because both dies share a similar power budget, the die with fewer SMs gets more watts per SM and runs 1.04$\times$ faster! Splitting work 50/50 leaves the fast die idling and burning static power; Joule assigns wider tiles to the faster die so both finish simultaneously.
  • Savings have a nonlinear tax: Reclaiming wasted energy lets the clock speed rise, which forces supply voltage up a steep nonlinear curve—making all remaining operations slightly more expensive in joules. Joule's solver captures this exact offset.

Key Results

  • Model Accuracy: Once calibrated per GPU, Joule predicts power-capped kernel energy and runtime with ~1% mean error (0.69% OOD energy error on B200), vastly outperforming prior GPU power models like Wattchmen (21.27% error) and AccelWattch (7.23% error).
  • Dense GEMM Speedups: Over exhaustively tuned cuBLAS best (sweeping every available algorithm per shape), Joule achieves geometric-mean speedups of 4.94% on B200 (winning 59/60 shapes), 6.64% on H100 NVL (60/60 shapes), and 2.12% on RTX PRO 6000 (59/60 shapes). Over default PyTorch heuristics, speedups jump to 6.26%, 17.40%, and 11.44%, respectively.
  • Zero-Shot CPU Tuning: Joule's analytical scheduler synthesizes schedules in under 0.5 seconds on a CPU, outperforming 60+ minutes of on-device hardware auto-tuning.
  • Multi-GPU Mega-MoE: Across eight B200 GPUs, Joule accelerates DeepSeek-V4-Pro's fused Mega-MoE by 2.60%–5.17% over the upstream DeepGEMM baseline, driven almost entirely by a 2.5%–4.6% boost in sustained SM clock frequency.

Limitations and Future Work

  • Power-Wall Scope: Joule only accelerates kernels that actually hit $P_{\text{cap}}$ and spend meaningful energy moving data. Memory-starved or small kernels running below the power cap gain no clock boost from reducing hidden traffic.
  • Calibration Overhead: The cost model requires a one-time microbenchmark and profiling pass per GPU architecture—and refitting coefficients per physical card to account for silicon lottery variations.
  • Data Distribution Sensitivity: Because transistor switching power depends on actual bit patterns (e.g., zeros vs. random floats), the model must be calibrated on data matching the target workload's distribution.
  • Future Work: The authors plan to open-source Joule and explore co-designing dynamic MoE token routing directly with power-aware tile scheduling.

Summary updated

Abstract

For a tensor-core kernel whose average board power stays near the GPU's power cap, runtime is approximately the energy consumed per call divided by that cap. Data movement whose latency is hidden by computation still consumes energy; reducing this traffic can raise the sustained clock and shorten execution even without reducing cycle count. We introduce Joule, a framework that accounts for this energy-frequency coupling in tensor-kernel design and scheduling. Its cost model combines hardware event counts, physical data-path energy costs, and nonlinear voltage scaling across domains to solve for sustained frequency and runtime under a power cap. Combining the model with data-movement lower bounds across memory levels and dies yields a power-aware speed of light (PSoL) that quantifies structural and implementation gaps. This analysis guides wide-tile kernels that use the full tensor memory (TMEM) capacity on B200, with fine-grained asynchronous rotation to overlap accumulator readout with tensor-core computation. It also guides power-aware spatial and temporal tile scheduling that accounts for trade-offs among read sharing, locality, and load balance. Given measured event counts, the model achieves 0.69% mean energy prediction error on B200. Across 60 dense-layer shapes, our GEMM delivers geometric-mean speedups of 4.94%, 6.64%, and 2.12% over exhaustively selected cuBLAS algorithms on B200, H100 NVL, and RTX PRO 6000, respectively. For fused Mega-MoE on eight B200 GPUs, the resulting optimizations improve performance by 2.60% to 5.17% over the upstream DeepGEMM baseline with die-local expert weights. We will open source Joule upon publication.
BibTeX
@misc{liu2026joule,
  author = {Taowen Liu and Zhiwen Mo and Hongxiang Fan and Aaron Zhao},
  title = {{Joule is FLOP: Optimizing Tensor-Core Kernels Beyond Latency Hiding at the GPU Power Wall}},
  year = {2026},
  eprint = {2611.32440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32440},
}
Figure