GPU: compare four complete landing blocks before checking the tail #1545
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1545"
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 faycalbaklouti on 2026-11-30T21:58:17Z.
What it changes
Process four complete 32-byte AVX2 blocks at a time, then compare the remaining complete blocks and the existing scalar byte tail. No new CPU feature or alignment requirement. The existing per-byte change oracle now also crosses the second 128-byte boundary. On the source branch a CPU microbenchmark comparing equal 4 KiB buffers measured 78.1 ns before and 43.7 ns after (phase 87c report, line 7). These are source-workload timings, not measurements on this branch or a frame-time result.
Base:
368967f8,crates/victory-gpu/src/safecopy.rs:309.How it was tested
Windows-target workspace comparison against
368967f8feat head84de3c4530. BASELINE-IDENTICAL. Both Clippy variants fail on the base precedence lint. Workspace tests execute and stop in the GPU unit suite with the same five failing assertions on both SHAs. This is baseline-identical on the Windows target under Wine, not a green native Windows run. The separate touched-package suite and each named head witness satisfy the package gate; clean-base zero matches are not passes.No native Windows Actions, live title, or GPU validation is claimed.
Radicle project hub (open-source porting and preservation history): https://radicle.network/nodes/rosa.radicle.network/rad:z3rqQw7796wMbgj8RszExtWR4wMSE
Live development stream: https://vdo.ninja/?view=gta6rtx4090live1080p60
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.