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_COPY_THREADS, which the README did not mention. README-only change. No issue.
What is in it
README.md: state the copy worker count (default 4, at most 15; 0: no workers; unset or not a number keeps 4).
Tested
Verified against crates/xcl/src/hle/d3d12x/worker_pool.rs at d8bd9a3: the pool parses XCL_COPY_THREADS (trimmed), falls back to 4 when unset or not a number, caps the count at 15, and creates no workers when the count is 0. Searched open PRs and issues first; none documents this switch.
Not tested
Not compiled locally (no Windows/Rust toolchain for XCL in my environment); relying on CI.
AI use
Muse Spark (Clifford), conducted by Alexander Lerbakken / LegendaryGodKing.
Review (head 9ca2e05, diff read, not a merge-check; draft, README only):
"Copy worker" doesn't say what the pool does.worker_pool::run is used for the sparse page scans (sparse.rs ~7484, ~7523) and the texture-upload looks (texture_upload.rs ~328), and the calling thread works too. Something like "threads that help scan written pages before a submit" tells a reader when changing it matters. The README already names these phases under XCL_LOOK_STATS.
Nit: the continuation line is indented 4 spaces; the bullets around it use 2. Next to the DirectStorage worker bullets it also reads as if it were one of them.
Fine: the numbers match pool() (worker_pool.rs ~97-104): trimmed, 4 when unset or not a number, at most 15, and 0 makes no workers. The README doesn't mention it yet. #3374, #3396, #3422, #3439 and #3454 (same account) each document one switch; one README PR for all of them would be quicker to review.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
No other open PR documents XCL_COPY_THREADS. The text matches worker_pool.rs (default 4, at most 15, 0 turns the pool off, a non-number keeps 4). Two nits. The entry sits among the DirectStorage bullets, but the pool is the D3D12.X submit pool (sparse::before_execute page scan and staging copies, texture uploads). "copy worker count" could say what it copies. The continuation line is indented 4 spaces where the list uses 2.
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_COPY_THREADS, which the README did not mention. README-only change. No issue.What is in it
README.md: state the copy worker count (default 4, at most 15;0: no workers; unset or not a number keeps 4).Tested
crates/xcl/src/hle/d3d12x/worker_pool.rsat d8bd9a3: the pool parsesXCL_COPY_THREADS(trimmed), falls back to 4 when unset or not a number, caps the count at 15, and creates no workers when the count is 0. Searched open PRs and issues first; none documents this switch.Not tested
AI use