WIP: [pr-performance][shaders][INTEL] Port the paired-lanes form for wave64 compute on 32-lane hosts #43
Loading…
Reference in a new issue
No description provided.
Delete branch "kisekinopureya:kisekinopureya/pr/paired-lanes"
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?
Contributor role (optional)
What it changes
From the Whiplash-NVIDIA tree: one host wave of 32 lanes runs one console wave of 64, each thread
running console lanes n and n + 32.
It is tried only when asked for:
DARNER_WAVE_PAIRS=1(every wave64 compute program) orDARNER_PAIRED_ONLY=<digest prefix or program text>. Both are in the shader cache key.On an Intel card the light clustering takes the paired form: 289 ms on the card in a replay of the
prison cell (wave-wide 523, approximate 281), 50.0 dB against the wave-wide picture.
DARNER_CLUSTER_LIGHTS=paired|approximate|exactpicks the form, replacingDARNER_CLUSTER_LIGHTS_EXACT.Open question: the paired form's lane swap was written for VIctory-NVIDIA's lowering. Darner's lowering
has an
lds_batchstate that I could not confirm the swap covers.Merge notes:
lower.rs; whichever mergessecond needs a rebase there.
How it was tested
8eae5f2542(rebased onto1a5286a7; the gates re-run there)paired_testsandwave64_testspass.separately.
Checklist
main.docs/asset-policy.md.Checked for overlap
crates/darner-shader/src/emit/lower.rs).🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.