mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2150] [CLOSED] SYCL: opt in to 256 GRFs for fused hyperconnection up #3887
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#3887
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/2150
Author: @alex4o
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:perf/sycl-gr-up-large-grf📝 Commits (1)
17a2becsycl: opt in to 256 GRFs for fused hyperconnection up📊 Changes
1 file changed (+25 additions, -11 deletions)
View changed files
📝
sycl/src/kernels/cuda/fused_gr.dp.cpp(+25 -11)📄 Description
Summary
Add an opt-in 256-GRF launch for the default fused hyperconnection up kernel. On an Intel Arc A770 16 GB / i915 with oneAPI 2026.1, this removed the measured register-spill allocation and improved matched warmed decode by about 13%.
Related: #1606 (decode optimization only; this does not claim to fix that report's prefill bottleneck).
What changed
Only sycl/src/kernels/cuda/fused_gr.dp.cpp changes:
The option remains off by default. The experimental Intel GRF header is an unconditional compile dependency; validation is on oneAPI 2026.1, the toolchain documented for this port. Older compilers and other GPUs were not tested.
Validation
This PR on base
a0116b2: full SYCL strata and gr_bench builds passed in strata-sycl-dev with icpx 2026.1. Separate gr_bench runs printed effective flag values unset / 0 / 1; all six output checksums (T=1..6) matched each other and the earlier OFF checksums. CUDA/HIP source is unchanged.Earlier full-model experiments on base
61b3fb5, with this exact kernel patch:Ryzen 5800X, 48 GB-class RAM, IQ3_XXS, INT8 KV, 131072 capacity, 4096 prefill, spec4, CPU cache misses. Two warm-ups per arm; three 384-token timing samples without prefix reuse. Median gain 13.4%. These capped samples are not complete-answer correctness tests.
Detailed protocol, limitations and reproducible direct fixture. Full-model speed/128K tests were not rerun on current upstream
a0116b2; the changed GRF source was unchanged upstream between the two bases. No universal 20+ tokens/s claim.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.