Repository navigation
gpu/shadow: O(dirty) CopiedPages bitmask, lock-free mirrors & AVX2 merge/diff (2/4 of #51, stable-amd) - #184
Open
Vladimir-Human wants to merge 1 commit into
Conversation
…rty (ported onto stable-amd)
Contributor
|
I carried the untouched-tail check requested in #57 onto this head. The retained copy, the title buffer and the GPU input each get a different byte pattern in the prefix, clean page and unused suffix. Dirty pages 62, 64 and 65 cross the bitmap’s 64-page boundary. The test compares both complete destination buffers with the scalar reference at seven tail lengths (1, 31, 32, 33, 63, 64 and 65 bytes). On a Windows runner with AVX2 required, all five active tests in the module passed. In a separate negative control I widened the last merge by one byte. The new test failed at byte 196,609, exactly the first untouched byte for the one-byte tail. Test-only commit · Windows run and negative control. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clean port of #57 (part 2/4 of #51) onto origin/stable-amd (75022ba, Cargo.lock untouched).
Supersedes #57.
Verification (clean port on 75022ba)