Reuse heap sync rounds on current main #343
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/343"
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 TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T18:34:11Z.
Bring Petr Seifert’s heap-sync rounds from #323 onto current main. When queued submissions can use the same completed round, let them share it. Keep the #311 check that closes host lists before submission preparation.
The existing round-coalescing unit test passed in an isolated Windows run. The combined diff keeps the four source files from #323 and resolves the single conflict at
Host::submit.Original change by PetrSeifert.
Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T18:34:25Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
398b72c398b72cℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T18:36:50Z.
Code review location:
crates/victory-gpu/src/host.rs; line 7293With asynchronous heap sync enabled and the default
VICTORY_PORT_JOURNALsetting, a queued submission can now reuse a round completed before preparation and receiveSyncedHeaps(None)here. However,run_deferredsubsequently executesStep::Copy, freeStep::Placed, andStep::RawCopyoperations that can write descriptor-heap memory. Theirprep_wrote()calls raise the floor, but nothing rechecks it beforedrop(heaps_synced)at line 7484; that drop simply returns forNone. Consequently, the submission can execute with stale host descriptors even though its preparation updated the title-side records. Revalidate the required round after deferred writes and any preparation-time landings, before sending the command lists.Useful? React with 👍 / 👎.
Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T18:36:50Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
38c145b80aℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:06:54Z.
Code review location:
crates/victory-gpu/src/host.rs; line 7293This is a correctness concern, not merely a performance issue. The current local submit path still begins heap synchronization before preparation and drops the guard later. The required round needs to be checked after deferred writes and before sending lists, with a regression for a reused completed round followed by a descriptor write. I am not treating this as resolved.