Send: VICTORY_SEND_PASS_AWAY=1 makes the pass for changed words off the submitting thread, copies meanwhile #1123
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1123"
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 101Leafy on 2026-11-28T13:43:04Z.
Problem
The pass that sends changed words to the card is made on the submitting thread at its first use. When that happens while pipeline workers are compiling, the driver's create can wait on its shader cache lock for a long time. The title's present waits on the submitting thread, so a slow create there can run past the title's 30 s watchdog.
Change
VICTORY_SEND_PASS_AWAY=1makes the pass on a thread of its own (victory-send-pass) at first use. Until it is made,pass()returnsNoneand the changed words go up as copies, the same path asVICTORY_SEND_OWN=0. The time taken is logged once. If the thread cannot start, the pass is made in place as before. The create moved intomake_passunchanged. Off by default.Tested
Built. It only changes anything when set.
Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.