[PR #1170] [CLOSED] test(gr): check the fused multi-token read at T=4 and T=2 #3282

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

📋 Pull Request Information

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

Base: main ← Head: test/gr-parity-short-windows


📝 Commits (1)

  • bf53d99 test(gr): check the fused multi-token read at T=4 and T=2, not only at the full window

📊 Changes

1 file changed (+12 additions, -9 deletions)

View changed files

📝 src/kernels/gr_parity.cpp (+12 -9)

📄 Description

Follow-up to #853, which was closed when main was force-pushed.

The kernel half of #853 is no longer needed. 104a848 (#783 PR-g) already templates gr_up_multi_kernel<MAX_T, EXACT_T> and dispatches exact T for ct 1..6 (src/kernels/cuda/fused_gr.cu:907-919, :891-896). Nothing here changes a kernel.

What is still missing is the test. gr_parity checked the fused multi-token read only at kFusedGrMaxT = 8 - the one launch that requests the whole dynamic LDS. The exact-T instantiations the engine actually launches were never compared with the single-token reference.

fused_multi_lds_parity now takes T and the selftest runs it at 8, 4 and 2: the full 40 KiB LDS request, and two short windows through the exact-T dispatch. The q8_1 (STRATA_QFUSE) check stays at the full window, where its group counters are exercised at the full size.

Measured on an RTX 3060 12 GB (driver 580.95.05), built from 82f46a8:

before, gr_parity --selftest:

  fused GR multi max-T=8 LDS launch and changing graph replay pass

after:

  fused GR multi T=8 LDS launch and changing graph replay pass
  fused GR multi T=4 LDS launch and changing graph replay pass
  fused GR multi T=2 LDS launch and changing graph replay pass
  ...
gr_read/gr_write: 0 failures
gr_parity OK

🔄 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/1170 **Author:** [@InB4DevOps](https://github.com/InB4DevOps) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `test/gr-parity-short-windows` --- ### 📝 Commits (1) - [`bf53d99`](https://github.com/Niko1221/Strata/commit/bf53d99f0e8235f8acbcc83ac3d24df113b2e517) test(gr): check the fused multi-token read at T=4 and T=2, not only at the full window ### 📊 Changes **1 file changed** (+12 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/kernels/gr_parity.cpp` (+12 -9) </details> ### 📄 Description Follow-up to #853, which was closed when `main` was force-pushed. **The kernel half of #853 is no longer needed.** `104a848` (#783 PR-g) already templates `gr_up_multi_kernel<MAX_T, EXACT_T>` and dispatches exact `T` for `ct 1..6` (`src/kernels/cuda/fused_gr.cu:907-919`, `:891-896`). Nothing here changes a kernel. **What is still missing is the test.** `gr_parity` checked the fused multi-token read only at `kFusedGrMaxT = 8` - the one launch that requests the whole dynamic LDS. The exact-`T` instantiations the engine actually launches were never compared with the single-token reference. `fused_multi_lds_parity` now takes `T` and the selftest runs it at 8, 4 and 2: the full 40 KiB LDS request, and two short windows through the exact-`T` dispatch. The `q8_1` (`STRATA_QFUSE`) check stays at the full window, where its group counters are exercised at the full size. Measured on an RTX 3060 12 GB (driver 580.95.05), built from `82f46a8`: before, `gr_parity --selftest`: ``` fused GR multi max-T=8 LDS launch and changing graph replay pass ``` after: ``` fused GR multi T=8 LDS launch and changing graph replay pass fused GR multi T=4 LDS launch and changing graph replay pass fused GR multi T=2 LDS launch and changing graph replay pass ... gr_read/gr_write: 0 failures gr_parity OK ``` --- <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:20 +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#3282
No description provided.