Late fills: with VICTORY_TEAM_FAST=1, fills of upload memory that only wait for flights are made on a thread of ours behind a queue fence, not waited on the submitting thread (off by default) #1849
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1849"
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-29T00:45:54Z.
When a submission's only reads of memory that flights may still write are fills of upload memory, the submitting thread waits until those flights land before it sends.
With VICTORY_TEAM_FAST=1 (and only together with the exact and copy relays), such a submission is prepared without those fills and sent behind a wait on a fence of ours. A thread of ours waits for the landings, makes the fills, and signals the fence. The card still reads the fills only once they are made, and the title's thread goes on. The fetches that land the flights go over the copy queue, not behind that wait.
What can go wrong: a fill takes the title's bytes as they are once the flights landed, not as they were at submission, so anything the title wrote there in between is read too (for example a view's constants a frame early). That is why it is off by default.