Diagnostics: distinguish submit-thread phase from unfinished work #4594
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4594"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T23:31:23Z.
What it changes
The device-removal report used the submitting thread's phase to say the GPU had no work running. With the relay, a thread can be between submissions while earlier work is still outstanding. The RTX 5060 log in #4505 shows that phase alongside 90,651 submissions started and 90,627 marked finished. The RTX 2080 retry in #4293 shows the same 24-submission gap.
The report now describes the CPU thread's phase and prints how many started submissions were still unmarked as finished when the counters were sampled. Those counters cover the whole submission path. The fence and DRED data remain the evidence for where the hang occurred.
How it was tested
The local results below were recorded on
36193175before the upstream history rewrite.cargo test --locked -p victory-gpu --lib the_removal_report_says_the_newest_things_donepassed, and the staged asset-policy check passed.Checked for overlap
Related: #3740 and #4573.
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.