runtime: attribute GPU-to-CPU copy refusals #3955
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3955
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3953"
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?
@lambirou on GitHub · 2026-12-03 16:56 UTC · original
lambirou:codex/memory-refusal-attribution→main· +578 −37 · 10 files · 1 commits · openProblem
The #3718 GPU-to-CPU census reports one
dest_title_refusalstotal whenever arefused copy or resolve has a destination with title memory. A refusal caused by
the source, such as
CopyBufferRegion ... title_backed_source, is counted by thesame total. A historical run reported 299,486 refusals while every detailed
sample was a source refusal, so the total cannot identify what needs fixing.
Change
every refusal cause they can return.
title_backed_sourceseparately fromdestination_has_title_memory, while preserving the existing total and querysubset semantics.
x2w_d3d12_gpu_to_cpu_refusal_snapshotso fixtures can inspect the matrixwithout changing the layout of the existing snapshot export.
source refusal is attributed to destination title memory.
This changes diagnostics only.
Map, copy forwarding and refusal behavior remainunchanged.
Refs #3678.
Validation
Windows 11, MSVC 19.44 Debug, debug layer unavailable, WARP and AMD Radeon RX
9060 XT (
32.0.32029.2010):main, 6/6 mutations killed.The historical 299,486-refusal run has not been replayed with this build. Known
detail lines were source refusals, but the full breakdown needs a new heartbeat.
57f73f52cftoc311ac632b@lambirou on GitHub · 2026-12-03 17:40 UTC · original · edited 2026-12-03 17:48 UTC
Rebased onto the current
mainand resolved the refusal-attribution overlap in commita7ee7c444. Revalidated locally: 16/16 GPU-to-CPU, 17/17 copy/query and 515 stand-in export cases with 6/6 mutations killed. GitHub checks are running on the new head; ready for review when they pass.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.