Public engineering evidence

rocBLAS/hipBLASLt slow FP16 GEMM kernel selection on RX 9070 XT gfx1201

Externally validated numerical methodology; static analysis qualified; open investigation

Status: Externally validated numerical methodology; static analysis qualified; upstream proposed corrections. Evidence reviewed 3 December 2026.

Affected environment

Radeon RX 9070 XT gfx1201; FP16 input/output, FP32 compute; reported on ROCm 7.2.2, 10.2.0 and 10.3.0 nightly.

Exact fault or symptom

Default GEMM solution selection is slower than alternative shipped kernels around M=640–1024. The reported issue concerns the selection of available kernels.

Verified findings

NH Applied's controlled numerical test design was independently executed by the original reporter on RX 9070 XT. On ROCm 7.2.2 the reporter measured up to 1.88x speedup with zero FP16 bit mismatches between candidate and default outputs and exact numerical agreement against the CPU reference for specified representable inputs. A further reporter retest on ROCm 10.3 measured up to 1.95x on the same input scheme.

Separate NH Applied source-analysis qualification

NH Applied subsequently completed 380/380 static source-analysis checks, independently verifying 44 revised GridBased entries, 46 reviewer-requested Range removals and 14 new Equality keys. An additional FP16 TN selection table containing 9,699 keys supported qualification of conditional matching, dimensional boundaries and fallback precedence.

Ten of the fourteen Equality keys overlap retained Range entries; the matching order therefore matters for conditional selection. The reviewed Range counts were 538, 492 and 496 across the successive revisions.

Latest source revision and candidate diagnostic

NH Applied independently compared PR #16616 commit 903daefdee70a637df57c0413be93e51206ab6f1 with its preceding head. Three Range keys were removed and four added across two NN tables; changed parent solution identities were retained. Exact BF16 and FP16 M boundaries narrowed to 2000 and 2016 respectively from 2046 in the specific affected regions. Both even and odd dimensions were excluded by these literal source changes. All 81 additional static controls passed.

A separate Doctor candidate now classifies literal source-table changes, dimensional boundaries and conditional unknowns. Two packaged qualification stages passed 100/100 and 27/27 controls; the original product baseline remains unchanged.

Latest NH Applied GitHub findings

Upstream reported engineering results

Separately, the upstream maintainer reported 23,145 passing tests and a 1.63x geometric mean speedup across 2,735 sizes whose kernel changed using the proposed corrections. Credit for the proposed upstream corrections and benchmark results belongs to their authors and testers.

Qualification scope

NH Applied's static source-analysis checks qualify the diagnostic candidate for continued Doctor development. The upstream maintainer's numerical results establish performance for the tested shapes and inputs. Runtime dispatch and upstream integration are separate qualification stages.

Upstream evidence

Need help with a similar fault?

NH Applied provides paid, independent GPU software compatibility investigations, diagnosis and qualification. Include the exact error, software version, hardware and operating system when contacting nigel@nhapplied.co.uk.

Browse fault register · Engineering achievements · NH Applied Doctor