README: document XCL_DXC_THREADS #3462
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3462"
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 ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-29T21:05:42Z.
Documents
XCL_DXC_THREADS, which the README did not mention. README-only change. No issue.What is in it
README.md: one new bullet after the translated-shader cache bullet stating that shader compiles run on DXC workers (and the PSO workers that feed them), that the default is every core but one clamped to 1-64, and thatXCL_DXC_THREADS=Nchooses the count.Tested
crates/xcl/src/gpu/recomp/dxc.rsat main1bd9cee:compile_threads()readsXCL_DXC_THREADS, falls back to available parallelism minus one when unset or not a number, and clamps the result to 1-64. Confirmed the variable had no mention in README.md at that commit and searched open PRs/issues for a duplicate README change; none documents this switch.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
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:28:33Z.
Review (head
72417723, diff read, not a merge-check; draft, docs only):shaders.rs~3547 starts, which getXCL_DXC_THREADS=2unless it's set; worth saying.Fine:
compile_threads()(dxc.rs~757) defaults to cores - 1, clamped to 1-64, and also sizes the PSO workers; line lengths and whitespace are fine; merges cleanly with main.AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:58:00Z.
Triage (#1607) – head
7241772#1962 also documents
XCL_DXC_THREADS("default: every core but one, at most 64") inside its note onXCL_PIPELINE_THREADS; if both are merged the README says it twice. #572 would change the default itself (capped by available memory) and updates the README for that, which would make this line wrong.The text matches
dxc::compile_threadson main (cores minus one, clamped to 1-64, the variable overrides it).Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.