README: XCL_PIPELINE_THREADS is only for xcl shaders --pipelines #1962

Open
github-bot wants to merge 1 commit from github-bot/gh-1962 into main AGit
Owner

@⁠tikD1337 on GitHub · 2026-11-24 23:58 UTC · original
tikD1337:ao/leonida-10/readme-pipeline-threads → main · +5 −0 · 1 files · 1 commits · open

XCL_PIPELINE_THREADS is read in one place, Pipelines::new in crates/xcl/src/shaders.rs, where it limits the driver compiles of xcl shaders --pipelines (default 4). The README does not mention it, and a retail-title launch script set XCL_PIPELINE_THREADS=10 expecting more pipeline builds during xcl run, where it does nothing. This adds one bullet saying so and naming the variables that do apply to xcl run.

What is in it

  • README.md: a bullet after the huge-pipeline paragraph. XCL_PIPELINE_THREADS is for --pipelines only. In xcl run the relevant variables are XCL_DXC_THREADS (dxc::compile_threads: every core but one, at most 64), XCL_HUGE_PSO_CONCURRENCY (real.rs, described just above) and XCL_PSO_PRELOAD=0 (pso_async::preload).

Tested

  • Docs only. Each statement was checked against main 62265d3 with grep for the variable's readers and defaults.
  • NVIDIA GeForce RTX 4070 Ti SUPER 16 GB, driver 621.01 (32.0.16.2101), AMD Ryzen 5 7600, 31.6 GB RAM, Windows 11 Pro 26300, rustc 1.100.0 stable-x86_64-pc-windows-msvc, DXC 1.9.2602.17, debug.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4 on this head 5011a26: 986 passed, 0 failed, 45 ignored (20 test binaries).
  • SKIPPED: the wave64 variants (no wave64) of gpu::recomp::lower::tests (4), lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu, f16/f32/f64/integer_programs_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware. Also the per-lane forms refused in f16_programs_on_the_gpu / f32_programs_on_the_gpu (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32), and heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).

Regression run

  • None: README only, no runtime file changed.

Not tested

  • Nothing to run for a README change. Not built on Linux or macOS.

AI use

  • Claude Code with Claude Opus 5.5: found the variable's only reader while triaging a retail run's logs, wrote the bullet and this description, and ran the tests. I checked each statement against the code.
**@⁠tikD1337** on GitHub · 2026-11-24 23:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/1962) `tikD1337:ao/leonida-10/readme-pipeline-threads` → `main` · +5 −0 · 1 files · 1 commits · open `XCL_PIPELINE_THREADS` is read in one place, `Pipelines::new` in `crates/xcl/src/shaders.rs`, where it limits the driver compiles of `xcl shaders --pipelines` (default 4). The README does not mention it, and a retail-title launch script set `XCL_PIPELINE_THREADS=10` expecting more pipeline builds during `xcl run`, where it does nothing. This adds one bullet saying so and naming the variables that do apply to `xcl run`. **What is in it** - `README.md`: a bullet after the huge-pipeline paragraph. `XCL_PIPELINE_THREADS` is for `--pipelines` only. In `xcl run` the relevant variables are `XCL_DXC_THREADS` (`dxc::compile_threads`: every core but one, at most 64), `XCL_HUGE_PSO_CONCURRENCY` (`real.rs`, described just above) and `XCL_PSO_PRELOAD=0` (`pso_async::preload`). **Tested** - Docs only. Each statement was checked against `main` `62265d3` with `grep` for the variable's readers and defaults. - NVIDIA GeForce RTX 4070 Ti SUPER 16 GB, driver 621.01 (32.0.16.2101), AMD Ryzen 5 7600, 31.6 GB RAM, Windows 11 Pro 26300, rustc 1.100.0 `stable-x86_64-pc-windows-msvc`, DXC 1.9.2602.17, debug. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4` on this head `5011a26`: 986 passed, 0 failed, 45 ignored (20 test binaries). - SKIPPED: the wave64 variants (`no wave64`) of `gpu::recomp::lower::tests` (4), `lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `f16/f32/f64/integer_programs_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware`. Also the per-lane forms refused in `f16_programs_on_the_gpu` / `f32_programs_on_the_gpu` (`V_MUL_F16`, `V_PK_MUL_F16`, `V_CVT_F16_F32`), and `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). **Regression run** - None: README only, no runtime file changed. **Not tested** - Nothing to run for a README change. Not built on Linux or macOS. **AI use** - Claude Code with Claude Opus 5.5: found the variable's only reader while triaging a retail run's logs, wrote the bullet and this description, and ran the tests. I checked each statement against the code.
The variable is read in one place, shaders.rs (Pipelines::new), and limits
the driver compiles of the offline pass. A retail run's launch script set
it to 10 expecting more pipeline builds in xcl run, where it does nothing.
Name the variables that do apply there.

Assisted-by: Claude Code (Claude Opus 5.5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:11:41 +00:00
Author
Owner

@⁠raylitebull on GitHub · 2026-11-25 01:54 UTC · original

Audit & CI note on 5011a26:

  • README.md doc clarification (XCL_PIPELINE_THREADS applies only to xcl shaders --pipelines, distinct from XCL_DXC_THREADS / XCL_HUGE_PSO_CONCURRENCY / XCL_PSO_PRELOAD) audited and CI workflow approved (running).
**@⁠raylitebull** on GitHub · 2026-11-25 01:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/1962#issuecomment-7150097977) Audit & CI note on `5011a26`: - `README.md` doc clarification (`XCL_PIPELINE_THREADS` applies only to `xcl shaders --pipelines`, distinct from `XCL_DXC_THREADS` / `XCL_HUGE_PSO_CONCURRENCY` / `XCL_PSO_PRELOAD`) audited and `CI` workflow approved (running).
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 03:09 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 03:09 UTC · [original](https://github.com/xcl-dev/xcl/pull/1962#issuecomment-7151639802) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
This pull request has changes conflicting with the target branch.
  • README.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1962/head:github-bot/gh-1962'
git switch 'github-bot/gh-1962'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1962'
git switch 'github-bot/gh-1962'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1962'
git switch 'github-bot/gh-1962'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1962'
git switch 'main'
git merge --squash 'github-bot/gh-1962'
git switch 'main'
git merge --ff-only 'github-bot/gh-1962'
git switch 'main'
git merge 'github-bot/gh-1962'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.