Why Theoretical GPU Peak Throughput Differs from Measured Throughput
Theoretical peak throughput in a GPU specification is an upper bound calculated for particular data types and compute paths. Measured throughput is the operation count for a defined workload divided by its measured runtime. Both values may use TFLOP/s, but they are not comparable unless their data type, counting convention, and timing boundary match.
Why Theoretical GPU Peak Throughput Differs from Measured Throughput
Theoretical peak throughput in a GPU specification is an upper bound calculated for particular data types and compute paths. Measured throughput is the operation count for a defined workload divided by its measured runtime. Both values may use TFLOP/s, but they are not comparable unless their data type, counting convention, and timing boundary match.
A theoretical peak is an upper bound built from assumptions
A common peak-rate model is:
GPU theoretical peak (FLOP/s) ≈ compute units × FLOPs per unit per cycle × assumed clock
A FLOP is one floating-point operation; FLOP/s is a rate. One fused multiply-add instruction performs a multiplication and an addition, so it is often counted as two FLOPs. A vendor's published rate can therefore depend on whether it counts one FMA as one instruction or two operations. NVIDIA's GPU performance guide also derives peak throughput by counting multiply-add as two operations and multiplying by per-unit throughput and unit count. NVIDIA GPU Performance Background User's Guide
Always check the assumptions beside a peak figure. FP32, FP16, BF16, FP8, and INT8 can use different hardware paths and have different operation rates. A sparse peak assumes the workload and hardware actually exploit the stated sparsity. A rate calculated with maximum boost clock does not mean the GPU sustains that clock during a long, dense workload.
| Item to check | Why it matters |
|---|---|
| Data type and compute path | One GPU can have different peaks for FP32, matrix-unit FP16, INT8, and other paths |
| FLOP-counting convention | Counting an FMA as one instruction or two FLOPs changes the numerator |
| Dense or sparse assumption | A sparse rate applies only when the pattern and hardware support match the workload |
| Clock basis | Maximum boost clock may differ from the sustained clock during compute |
Separate a controlled best result from application throughput
There can be a useful reference point between a theoretical peak and an application's measured result. AMD calls one such metric Max-Achievable FLOPs (MAF). In AMD's definition, MAF is measured by running a matrix workload sized for a particular GPU under controlled conditions, such as initialized representative inputs, stable temperature, and a stated cache condition. This is AMD's term and methodology, not a universal standard used identically by every vendor. AMD ROCm: Understanding Peak, Max-Achievable & Delivered FLOPs, Part 1, AMD ROCm: Measuring Max-Achievable FLOPs, Part 2
Throughput delivered by a real application depends on its input shape, batch size, data type, reuse, memory traffic, communication, and kernel-launch costs. AMD notes that “Delivered FLOPs” may refer either to MAF or to GEMM performance inside an application. To avoid ambiguity, this article uses measured throughput for a value observed for a stated kernel or application.
| Value | What it represents | Question it answers |
|---|---|---|
| Theoretical peak | A specification upper bound under stated unit, type, and clock assumptions | What maximum rate is calculated for this hardware path? |
| MAF (AMD usage) | A tuned matrix workload measured under controlled conditions | How fast can a well-matched compute kernel run on this device? |
| Application measured throughput | A defined workload measured over a stated time interval | How much work does this kernel or application actually complete? |
Workloads miss the peak for different reasons
Not every GPU compute unit stays busy. A small workload or grid may occupy only some SMs. A kernel that reads and writes far more data than it computes can hit a memory-bandwidth limit before its compute peak. Matrix multiplication can also behave differently when a dimension is narrow or its inner loop is short, because setup, data movement, and launch costs become a larger share of the runtime.
The Roofline model relates work, memory traffic, arithmetic intensity, and compute or memory ceilings. Low-intensity work can meet the memory roof first; high-intensity work still needs enough parallelism and the right instruction path to approach a compute roof. A profiler's achieved point helps identify a likely limiting boundary; a low percentage alone does not prove the kernel is defective. NVIDIA Nsight Compute Profiling Guide
The clock used for a specification peak may also differ from the clock during sustained work because of power and temperature limits. AMD's MAF guidance warns that nonrepresentative inputs, such as all-zero values, can change switching and power behavior and distort a benchmark. A vendor's large, optimized GEMM result and a real model's small-batch latency therefore answer different questions.
Calculate measured throughput with an explicit work count
For dense matrix multiplication of A(M×K) by B(K×N), an approximate model-level count is 2MNK FLOPs when each multiply and add is counted separately. In this hypothetical example, M=N=K=2048 gives about 17.18 GFLOP. If the GPU kernel were assumed to take 2 ms, the calculated rate would be 17.18 GFLOP ÷ 0.002 s, or about 8.59 TFLOP/s. These values illustrate the arithmetic; they are not a GPU benchmark.
| Quantity | Illustrative assumption | Interpretation |
|---|---|---|
| Matrix dimensions | 2048×2048×2048 | Dense GEMM |
| Model-level work | about 17.18 GFLOP | 2MNK, counting FMA as two FLOPs |
| Kernel time | 2 ms | Assumed elapsed time |
| Calculated throughput | about 8.59 TFLOP/s | Work divided by time |
| Comparison peak | 50 TFLOP/s | Hypothetical value for explanation |
| Simple peak ratio | about 17.2% | 8.59 ÷ 50; not a quality score by itself |
Do not call a 17.2% ratio inefficient without checking whether the peak uses the same GPU, data type, compute path, and sparse/dense convention. The model-level 2MNK count may differ from hardware work because of padding, boundary tiles, fusion, or sparse execution. When a roofline result disagrees with expected FLOPs, NVIDIA recommends checking that the roofline matches the instruction path, confirming the profiler's clock basis, and validating executed math with counters or code inspection. NVIDIA Nsight Compute Compute Triage Guide
Measure and report under comparable conditions
**Fix the workload.** Record the GPU model, input and accumulation types, dimensions, batch size, and whether the work is dense or sparse. State the FLOP-counting convention.
**Define the work numerator.** For matrix multiplication, state which dimensions are counted and how FMA is treated. Model-estimated FLOPs and hardware instruction counters can differ because of padding, edge tiles, or fusion.
**Choose the timing boundary.** Report kernel-only time separately from application time that includes initialization, copies, and preprocessing. CUDA calls can be asynchronous, so a CPU timer around a launch alone may not measure completion. For CUDA, consider GPU events or correctly synchronized CPU timing. [CUDA C++ Best Practices Guide 13.5](https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/)
**Stabilize and repeat.** Warm up, use representative inputs, measure multiple runs, and report a median or distribution. Keep the GPU, software, power settings, thermal state, and profiling settings comparable. AMD's MAF procedure controls matrix sizes, input patterns, thermal state, and cache conditions for AMD GPUs; its detailed settings should not be treated as universal instructions for other platforms.
**Use rate and absolute time together.** Inspect runtime, application throughput, and the compute or memory pipeline that the profiler reports. A peak percentage can fall even when the kernel gets faster if the amount of work was reduced. Judge the change using the same timing scope and the application's real objective.
Theoretical peak summarizes hardware capacity under assumptions. MAF-style numbers show what a controlled, well-matched benchmark can achieve. Application throughput depends on the input and the interval being measured. Compare the data type, work-count convention, timing scope, and profiling basis before interpreting either the rate or the absolute completion time.
References
[AMD ROCm: Understanding Peak, Max-Achievable & Delivered FLOPs, Part 1](https://rocm.blogs.amd.com/software-tools-optimization/Understanding_Peak_and_Max-Achievable_FLOPS/README.html)
[AMD ROCm: Measuring Max-Achievable FLOPs, Part 2](https://rocm.blogs.amd.com/software-tools-optimization/measuring-max-achievable-flops-part2/README.html)
[NVIDIA GPU Performance Background User's Guide](https://docs.nvidia.com/deeplearning/performance/dl-performance-gpu-background/index.html)
[NVIDIA Nsight Compute Profiling Guide](https://docs.nvidia.com/nsight-compute/ProfilingGuide/)
[NVIDIA Nsight Compute Compute Triage Guide](https://docs.nvidia.com/nsight-compute/ComputeTriage/)
[CUDA C++ Best Practices Guide 13.5](https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/)