mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1298] [CLOSED] hip: the gfx110x fp16 (rocWMMA) qsa-select scorer arm (STRATA_SELECT_WMMA) #3369
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3369
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1298
Author: @xyzzing
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:refile-select-fp16📝 Commits (1)
78c402dqsa select: the gfx110x fp16 (rocWMMA) scorer arm re-landed on the 0.1.40 line📊 Changes
4 files changed (+531 additions, -1 deletions)
View changed files
📝
CMakeLists.txt(+11 -0)📝
include/strata/kernels/qsa_select.hpp(+9 -0)📝
src/kernels/cuda/qsa_select.cu(+163 -1)➕
src/kernels/qsa_select_wmma_parity.cpp(+348 -0)📄 Description
Per the offer in the #944 thread: the gfx110x fp16 (rocWMMA) qsa-select scorer arm, as the gfx110x branch of the existing
STRATA_SELECT_WMMAopt-in, alongside the bf16 hand-rolled kernel that 0.1.40 ships.What it is. One commit: the fp16 rocWMMA scorer kernel for gfx110x (
rocwmma.hpp, 16x16x16, fp16 operands / fp32 accumulate) behind the sameSTRATA_SELECT_WMMAenv, plus its parity harnesssrc/kernels/qsa_select_wmma_parity.cpp(fp64 oracle + the bitwise warp host model, pre-declared bounds, negative controls). The bf16 kernel (gfx12 + the other gfx11 layouts) and the warp kernel stay the fallbacks everywhere else — the default path (env absent) is byte-identical to main; on cards without the rocWMMA headers the arm compiles out and the host entry refuses.Why fp16 here. Paired A/B on gfx1100 (2026-10-06, same engine build, arms differing only in the select kernel): the fp16 arm's qsa-select phase ran 1.64x faster than the shipped bf16 arm at 128K (measured on the fork's 0.1.40 refresh line; the fork carries this exact kernel in production). The re-land on this base measured parity-neutral overall vs our previous production reads (x1.0009 on the canonical stream tail).
Gates on this base. Full HIP build green;
qsa_select_wmma_parityall cases PASS (worst fp64-oracle bound utilisation 11.0%, one-hot/coordinate-coded adversarial case bitwise vs its host model, 0 differing selection ids, negative control fails as designed).Prepared with an AI engineering agent (GLM-5.3 / Z.ai) under human direction; every number is from our own recorded runs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.