You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documents XCL_RESUBMIT_WAIT_MS, which the README did not mention. README-only change. No issue.
What is in it
README.md: one new bullet in the "Switches for how a title runs" list, after the XCL_WAIT_TIMEOUT_MS bullet, stating that a submit waits for the previous submits of its command lists to finish on the GPU before submitting them again, 2000 ms by default for all of them together, that 0 does not wait, that a value that is not a number keeps the default, and that after the wait the lists are submitted as they are.
Tested
Verified against crates/xcl/src/hle/d3d12x/alloc_pool.rs at main 91244db: resubmit_wait() reads XCL_RESUBMIT_WAIT_MS, parses the trimmed value as a number of milliseconds, and falls back to 2000 when it is unset or does not parse; wait_for_previous_submits() waits, within that limit for all of them, for lists whose previous submit the GPU has not finished, and a zero limit returns without waiting. Confirmed the variable had no mention in README.md at that commit (code search finds it only in alloc_pool.rs) and searched open PRs/issues for a duplicate README change; none found.
Regression run
Not needed: README only, no crates/xcl/src change.
Not tested
Windows build, cargo test --workspace, the GPU suite, and any retail title. A Windows test run is still needed before merge.
AI use
Muse Spark (Meta AI) read the code, checked for duplicate PRs, and prepared this docs change. No test results were produced by the tool.
Fine: the 2000 ms default, one time limit shared by all the lists, 0 not waiting, a value that isn't a number keeping the default (trimmed, read as a whole number), lists submitted as they are after the wait, nesting and line lengths.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
No open or merged PR documents XCL_RESUBMIT_WAIT_MS. The text matches alloc_pool::resubmit_wait / wait_for_previous_submits_within on main (2000 ms default for all lists together, 0 does not wait, a non-number keeps the default, lists then go as they are). #3508 inserts at the same place in README.md, so whichever merges second will need a rebase.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents
XCL_RESUBMIT_WAIT_MS, which the README did not mention. README-only change. No issue.What is in it
README.md: one new bullet in the "Switches for how a title runs" list, after theXCL_WAIT_TIMEOUT_MSbullet, stating that a submit waits for the previous submits of its command lists to finish on the GPU before submitting them again, 2000 ms by default for all of them together, that0does not wait, that a value that is not a number keeps the default, and that after the wait the lists are submitted as they are.Tested
crates/xcl/src/hle/d3d12x/alloc_pool.rsat main 91244db:resubmit_wait()readsXCL_RESUBMIT_WAIT_MS, parses the trimmed value as a number of milliseconds, and falls back to 2000 when it is unset or does not parse;wait_for_previous_submits()waits, within that limit for all of them, for lists whose previous submit the GPU has not finished, and a zero limit returns without waiting. Confirmed the variable had no mention in README.md at that commit (code search finds it only inalloc_pool.rs) and searched open PRs/issues for a duplicate README change; none found.Regression run
crates/xcl/srcchange.Not tested
cargo test --workspace, the GPU suite, and any retail title. A Windows test run is still needed before merge.AI use