mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1909] [CLOSED] kernels: process all groups in fused GU and LDS down launches #3750
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#3750
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/1909
Author: @W1nge
Created: 10/11/2026
Status: ❌ Closed
Base:
main← Head:codex/grouped-stride-fix📝 Commits (1)
3365d2ckernels: stride over all groups in the fused GU and LDS down paths📊 Changes
2 files changed (+148 additions, -103 deletions)
View changed files
📝
src/kernels/cuda/iq_kernels.cu(+107 -103)📝
src/kernels/native_grouped_parity.cpp(+41 -0)📄 Description
Closes #1908.
Summary
When expert groups outnumber launch block rows, mode 8's fused gate/up and modes 7/8's LDS down kernels skip later groups. Stride the group index by
gridDim.yin both kernels.What changed
Add a model-free regression to
native_grouped_parity: 11 groups, varied entry counts, scattered outputs, nonzero entry offsets, and block-row counts 1/3/8. Check mode 7's down pass and mode 8's complete pass across five gate/up formats and two down formats. No launch defaults or arithmetic changes.Validation
MSVC/CUDA 12.4 build for
sm60;sm75. On RTX 2080 Ti and P100, all 120 new comparisons per GPU fail before the fix and pass afterward; existing default-path checks remain bitwise equal. Targeted CTest and full CUDA integration build pass.Draft pending the affected gfx906 HIP build; no AMD runtime result claimed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.