[PR #1150] [CLOSED] HIP gfx103x: PR #540's attention kernel with 8 cells per step and DPP lane exchanges (bit-exact, prompt +6-12% on RX 6900 XT) #3268

Closed
opened 2026-11-07 14:40:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1150
Author: @Vop3p
Created: 10/6/2026
Status: ❌ Closed

Base: main ← Head: v140/hip-gfx103x-qsa-attn


📝 Commits (2)

  • 18d1d02 HIP gfx103x: PR #540's attention kernel with 8 cells per step and DPP lane exchanges (bit-exact)
  • 7cdcbda bench, docs: the pre75 attention kernel on RX 6900 XT - measurements, exactness, decode A/B; OLDER_GPUS.md notes

📊 Changes

4 files changed (+224 additions, -24 deletions)

View changed files

➕ bench/results/2026-10-04-rdna2-pre75-attention/README.md (+116 -0)
➕ bench/results/2026-10-04-rdna2-pre75-attention/strata-1gpu.json (+40 -0)
📝 docs/OLDER_GPUS.md (+3 -2)
📝 src/kernels/cuda/qsa_decode_attn.cu (+65 -22)

📄 Description

Re-filed from #849, which GitHub closed when main was rewritten; the two commits cherry-pick onto 0.1.40.1 without conflicts. The description and measurements are those of #849: the pre75 attention kernel on HIP wave32 with NC_ = 8 cells per step (CUDA keeps 2) and DPP lane exchanges instead of LDS; bit-exact against the previous kernel (KL 0, argmax and top-10 agreement 100%); prompt +4.2 to +6.1% on one card, +6-12% in the configurations of the report in bench/results.

HIP ctest on the RX 6900 XT at 0.1.40.1 (82f46a8), with this change and #1148 (the hip_prefill_wmma_gemm_parity skip) applied: 19 tests, 13 pass, 6 skip (the WMMA / hipBLASLt / fused-kernel tests that do not apply to gfx1030), 0 fail.

Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1150 **Author:** [@Vop3p](https://github.com/Vop3p) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `v140/hip-gfx103x-qsa-attn` --- ### 📝 Commits (2) - [`18d1d02`](https://github.com/Niko1221/Strata/commit/18d1d022747a1b494341661505098d692ee39ea3) HIP gfx103x: PR #540's attention kernel with 8 cells per step and DPP lane exchanges (bit-exact) - [`7cdcbda`](https://github.com/Niko1221/Strata/commit/7cdcbda7698fe0bb719a2e74b26289a1162adb42) bench, docs: the pre75 attention kernel on RX 6900 XT - measurements, exactness, decode A/B; OLDER_GPUS.md notes ### 📊 Changes **4 files changed** (+224 additions, -24 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-04-rdna2-pre75-attention/README.md` (+116 -0) ➕ `bench/results/2026-10-04-rdna2-pre75-attention/strata-1gpu.json` (+40 -0) 📝 `docs/OLDER_GPUS.md` (+3 -2) 📝 `src/kernels/cuda/qsa_decode_attn.cu` (+65 -22) </details> ### 📄 Description Re-filed from #849, which GitHub closed when `main` was rewritten; the two commits cherry-pick onto 0.1.40.1 without conflicts. The description and measurements are those of #849: the pre75 attention kernel on HIP wave32 with `NC_ = 8` cells per step (CUDA keeps 2) and DPP lane exchanges instead of LDS; bit-exact against the previous kernel (KL 0, argmax and top-10 agreement 100%); prompt +4.2 to +6.1% on one card, +6-12% in the configurations of the report in `bench/results`. HIP ctest on the RX 6900 XT at 0.1.40.1 (`82f46a8`), with this change and #1148 (the `hip_prefill_wmma_gemm_parity` skip) applied: 19 tests, 13 pass, 6 skip (the WMMA / hipBLASLt / fused-kernel tests that do not apply to gfx1030), 0 fail. Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:40:14 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3268
No description provided.