Submissions: VICTORY_SNAP_BESIDE=1 and VICTORY_SEND_BESIDE=1 copy snapshots and card-memory sends on the kept threads while the submitting thread goes on #1790
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1790"
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:05:42Z.
A submission's snapshots were taken on the submitting thread before it went on to bring the copies in the card's memory up to date, and the long runs of a card-memory send were copied before the list that sends them was recorded.
VICTORY_SNAP_BESIDE=1 takes the snapshots on the kept threads while the submitting thread brings the card's copies up to date, and waits for them before anything writes the copies again. VICTORY_SEND_BESIDE=1 copies the long runs into the send memory on the kept threads while the list is recorded, and waits for them before the list goes to the card or the memory is read. Both use a new Beside handle in shadow.rs that queues the jobs and waits when dropped, and wide() now goes through the same queue.
Both are off by default.