gpu: compare 64-byte and 8-byte unaligned u64 blocks in shadow::changed_runs #1126
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1129"
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?
Imported from fxceless/victory-fork. Originally posted by DoktorTK on 2026-11-25T20:59:50Z.
Speeds up
shadow::changed_runsby scanning 64 bytes (8 x u64) and 8 bytes (u64) at a time via unaligned loads for both equal runs and differing runs (using a branchless SWAR zero-byte check ona ^ bto detect 8-byte blocks where every byte differs) before falling back to single-byte tail steps.80–104 MB/frame).cargo test --release -p victory-gpu changed_runs(including the 20,000-casechanged_runs_are_the_ones_a_walk_byte_by_byte_findsproperty test, 0 failures).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.