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 the compute-pipeline wait budget that pso_async.rs already implements but the README does not mention.
What is in it
README-only documentation of XCL_CS_PSO_WAIT_MS verified against crates/xcl/src/hle/d3d12x/pso_async.rs (cs_wait_budget/budget_of/budget_for) at upstream head 3b6a91e.
Tested
No local build/test (docs-only; this environment has no Windows/GPU test setup). No cargo test run.
Regression run
Not needed: docs-only, no crates/xcl/src change.
Not tested
Runtime behavior not exercised; wording checked against source only.
AI use
Muse Spark (Meta AI) researched the variable in source, checked for duplicate PRs, and prepared this docs change.
Review (head 0fc4891, diff read, not a merge-check; draft, README only):
Default not stated. The bullet says what happens past the budget but not that, with neither XCL_CS_PSO_WAIT_MS nor XCL_PSO_WAIT_MS set, a dispatch waits until its pipeline is built. Also missing is what skipping costs: what those dispatches compute is missing or old meanwhile, including the counts later ExecuteIndirects read (indirect_guard only zeroes counts out of range). That is why cs_wait_budget (pso_async.rs ~11119-11130) keeps it off by default. A reader turning it on for a stall should know both.
XCL_PSO_WAIT_MS, which it falls back to, isn't in the README either.
Fine: budget_of treats unset, 0 or not a number as no budget, budget_for picks cs.or(all) for compute pipelines, and past the budget the pipeline's dispatches get the stand-in until a worker builds it (resolve_within). The bullet is top-level and wrapped like its neighbours, and it merges cleanly with current main. #3396 (same author) documents the graphics budget beside it; one README PR for the wait switches would have been easier to review.
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_CS_PSO_WAIT_MS; the other README env-var PRs (#3118, #3155, #3202, #3215, #3227, #3274, #3285, #3311) each document a different variable. The text matches main's pso_async::cs_wait_budget / budget_of (unset, 0 or not a number falls back to XCL_PSO_WAIT_MS; past the budget the pipeline's dispatches are skipped until it is built). #3439 inserts at the same README line, so whichever merges second needs a trivial 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 the compute-pipeline wait budget that
pso_async.rsalready implements but the README does not mention.What is in it
XCL_CS_PSO_WAIT_MSverified againstcrates/xcl/src/hle/d3d12x/pso_async.rs(cs_wait_budget/budget_of/budget_for) at upstream head3b6a91e.Tested
Regression run
crates/xcl/srcchange.Not tested
AI use