Skip to content

Hierarchos-Native v0.2.6 — RDNA3 Batched WMMA Staging

Latest

Choose a tag to compare

@necat101 necat101 released this 23 Nov 05:18
· 2 commits to main since this release
f9b683e

Windows x64 portable release of Hierarchos Native v0.2.6. This release
promotes the Phase LXXXVII C1 batched operand staging schedule into the
production Full FP16 WMMA route and keeps the v0.2.5 P3 module as the automatic
fallback.

What changed

Inside --wmma-mode full-fp16 the per-slice staging loop used to issue four
dependent global-load → shared-store pairs per thread. It now issues the four
32-bit operand loads first and the shared stores after them, so the loads overlap
instead of queueing behind stores. Nothing else moved: the two-wave workgroup,
the K-slice stream, the per-bank binary16 accumulation, the float32 sum of the
eight bank partials, the single binary16 rounding and the barrier count are P3's.

The original 23,280-byte P3 module is still embedded in the same executables and
still dispatches every geometry the C1 contract cannot prove — partial tiles, K
not a multiple of 16, odd packed-pair strides, operand buffers too short for the
fast path's last element, indices near the 32-bit ceiling. There is no new mode,
flag or variant: users select full-fp16 exactly as before.

Measured performance (per-dispatch GPU GEMM timings)

Integrated production selector vs the v0.2.5 P3 release binary, 24 paired
blocks per shape, position-balanced ABBA/BAAB, GPU timestamp queries, strictly
serial:

Shape v0.2.5 ms v0.2.6 ms Speedup Corrected 95 % CI
2048x768x2048 5.0217 2.9347 1.7074× [1.6976, 1.7171]
512x2048x768 1.2376 0.9316 1.3286× [1.3182, 1.3391]
512x768x768 0.5352 0.2570 2.0920× [2.0415, 2.1425]
128x8192x768 1.3955 1.0067 1.3782× [1.3580, 1.3983]

These are per-dispatch GPU timings, not end-to-end training-step speedups.

Numerical qualification

Eight seeds, 40 receipts, 37/37 gates on the production tile16 route at every
seed, maximum tile16 max_abs 0.03125 (the unchanged hard gate), and
cases=120 bit_identical=120 differing=0 against the v0.2.5 P3 baseline with both
routes exercised. No reference, tolerance, seed, oracle, profitability floor or
WMMA default changed.

Selector safety

C1 is chosen only when the host proves, from the dispatch geometry and the bound
operand capacities, that every packed 32-bit load is aligned and in bounds: full
32-row/16-K tile coverage, even packed-pair strides, complete buffer coverage and
indices well inside the 32-bit ceiling. The branch is workgroup-uniform and no
barrier is conditionally skipped. A 17/17 geometry sweep takes ten aligned
neighbours to C1 and seven unaligned ones to P3.

Assets

  • Hierarchos-Native-Windows-x64-Portable-v0.2.6.zip — 34,078,829 bytes, SHA-256 1d3652555228843892c2850b63dff42e4b2e6f5a87c3aa268b1518b94aa479e3
  • BUILD_MANIFEST.json — packaging commit, toolchain, flags, per-executable hashes, both module identities
  • SHA256SUMS — hashes of the archive and the manifest

Seven executables, all x64 PE32+, statically linked against the MSVC C runtime:
no Visual C++ Redistributable, Rust, Cargo, Python or shader compiler is needed.
vulkan-1.dll and a Vulkan 1.x compute driver are external runtime
requirements. Model weights are not bundled. The binaries are unsigned.

Hardware scope

All measurements come from one adapter: AMD RDNA3, PCI 1002:15bf
(AMD Radeon Graphics), driver 32.0.32015.14001, Windows 11 x64. This is not a
claim for other RDNA3 adapters, RDNA3.5, RDNA4 or non-AMD devices; independent
second-device acceptance remains unverified. No RGP, ISA, VGPR or occupancy
counters were obtained.

Full record: RDNA3_C1_STAGING_RELEASE.md and
hierarchos-vulkan/validation/phase_lxxxviii_c1_promotion/ in the repository.