GPU: remember the block where a plain copy faults #946
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!946
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-946"
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?
@avt0m4t48 on GitHub · 2026-11-25 13:26 UTC · original
avt0m4t48:fix/plaincopy-fault-block→main· +117 −66 · 1 files · 2 commits · openWith
VICTORY_COPY_PLAIN=1, a read that crossed an unmapped block marked both ends of the request as recently faulted. Later reads of either readable end then skipped the fast path. The actual fault could lie in a block the cache never marked.Use the count left in RCX when
REP MOVSBstops to identify the source block that faulted. The cache checks the whole requested span with at most one probe per slot. Intel instruction referenceThe baseline test failed when a separate read of the first committed block skipped the fast path. All five plain-copy tests passed with the patch on Windows, including the reserved block between two readable blocks and eight concurrent copying threads. The local MSVC-target test check, asset policy, and 49,152 cache lookup comparisons against a separate model passed. Title performance was not measured. Baseline · Patched tests
AI-assisted using Codex.
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.