D3D12.X: plan split-dispatch slabs without heap allocations #2340

Open
jeroenhaentjens wants to merge 1 commit from upstream-pr/2350 into main
jeroenhaentjens commented 2026-11-25 16:17:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by jeroenhaentjens on 2026-11-25T16:17:38Z.


The split-dispatch path builds a Vec of every slab before checking whether scratch exists. With no scratch it uses a one-group budget, allocates the entire plan, then falls back to the whole pipeline. With scratch, recording builds the same plan a second time. This change yields slabs on demand and checks the fallback first, removing the planner's heap allocations while preserving dispatch order and barriers.

Part of #2088 and #1269. Follow-up to #2080; separate from #2333's allocator/resource-lifetime changes. Draft: paired retail smoke runs are still unavailable.

What is in it

  • One runtime change across pso.rs, runner.rs and real/dispatch_chain.rs: lazy slab iteration, count slabs while recording, and size runner scratch from only the first slab. Zero-sized grids terminate immediately. Five additional planner tests cover order, partial dimensions, huge lazy prefixes, zero axes and wide products.

Tested

  • Candidate 4cd2bc20cc2841dcfb631379870f6de376217e82; baseline main 082944135cd2b96288470a595861fa608eee08dc. Windows 11 Pro build 26200, i7-9750H, 32 GB, NVIDIA Quadro RTX 3000 6 GB driver 597.06 (32.0.15.9706), Rust 1.100.0, DXC 1.9.2609.5. MSVC debug; debug symbols/incremental disabled; XCL_ADAPTER=nvidia. Game sample variables and XCL_HEAP_WINDOWS unset.
  • cargo build --workspace --locked: passed.
  • cargo test --workspace --locked --no-fail-fast -- --test-threads=4: 1276 passed, 1 failed, 46 ignored, 28 explicit SKIPPED records. Skips: 21 native-wave64, 3 unsupported f16, 2 missing debug layer, 1 driver cache-control, 1 disabled heap windows.
  • Sole failure: hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_it, adapter/setup HRESULT 0x80070057. Reproduced with cargo test --locked -p xcl --lib hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_it -- --exact --nocapture --test-threads=1 on the exact clean main baseline: 0 passed, 1 failed. Existing adapter-selection issue tracked separately in #2318.
  • cargo test --locked -p xcl --lib slab_tests -- --test-threads=1 --nocapture: 6 passed, 0 failed, 0 ignored, no skips.
  • cargo test --locked -p xcl --lib dispatch_chain -- --test-threads=1 --nocapture on baseline and candidate: each 9 passed, 0 failed, 0 ignored; each has 1 explicit native-wave64 skip. The 3D divergent-forward-edge fixture covers wave32 and split-wave64, whole/CPU equality, slab budgets 1/2/3/6/7/12 and guard words.
  • Bounded standalone Rust allocator probe compiled with rustc -O, extracting the actual planner from each revision: requesting one slab of [1024,1024,1], budget 1, changes 19 allocation/reallocation calls and 24 MiB peak requested live bytes to 0 calls / 0 bytes. The same zero-allocation assertion fails on baseline (exit 101) and passes on candidate (exit 0). The bounded [1024,1024,8], budget 1 case changes 192 MiB to zero. Across 12 comparable prefix/full-plan cases, counts and order-sensitive checksums match; all candidate cases allocate zero. This measures the planner's allocator requests, not process RSS or VRAM. No FPS or retail-crash fix is claimed.
  • git diff --check: passed. Independent Codex subagent review found no blocking issue.

Regression run

  • Main: not run; no locally available unpacked retail Xbox Series title.
  • PR: not run for the same reason. No synthetic fixture is presented as a retail run. This draft does not yet satisfy the runtime smoke gate.

Not tested

  • Retail startup/world loading, frame rate, process peak commit, AMD, native wave64, and release workspace build. The known full-suite adapter setup failure remains outside this change.

AI use

  • OpenAI Codex (GPT-6; exact deployment variant unavailable), with subagents, investigated the issue, wrote the implementation and tests, measured the actual planner, ran validation and reviewed the diff. No game data or SDK binaries are included.
<!-- greyfinch-sync:ivall/xcl:issue:5494936468 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350). Originally posted by [jeroenhaentjens](https://github.com/jeroenhaentjens) on 2026-11-25T16:17:38Z. --- The split-dispatch path builds a `Vec` of every slab before checking whether scratch exists. With no scratch it uses a one-group budget, allocates the entire plan, then falls back to the whole pipeline. With scratch, recording builds the same plan a second time. This change yields slabs on demand and checks the fallback first, removing the planner's heap allocations while preserving dispatch order and barriers. Part of #2088 and #1269. Follow-up to #2080; separate from #2333's allocator/resource-lifetime changes. **Draft: paired retail smoke runs are still unavailable.** **What is in it** - One runtime change across `pso.rs`, `runner.rs` and `real/dispatch_chain.rs`: lazy slab iteration, count slabs while recording, and size runner scratch from only the first slab. Zero-sized grids terminate immediately. Five additional planner tests cover order, partial dimensions, huge lazy prefixes, zero axes and wide products. **Tested** - Candidate `4cd2bc20cc2841dcfb631379870f6de376217e82`; baseline main `082944135cd2b96288470a595861fa608eee08dc`. Windows 11 Pro build 26200, i7-9750H, 32 GB, NVIDIA Quadro RTX 3000 6 GB driver 597.06 (32.0.15.9706), Rust 1.100.0, DXC 1.9.2609.5. MSVC debug; debug symbols/incremental disabled; `XCL_ADAPTER=nvidia`. Game sample variables and `XCL_HEAP_WINDOWS` unset. - `cargo build --workspace --locked`: passed. - `cargo test --workspace --locked --no-fail-fast -- --test-threads=4`: **1276 passed, 1 failed, 46 ignored**, 28 explicit SKIPPED records. Skips: 21 native-wave64, 3 unsupported f16, 2 missing debug layer, 1 driver cache-control, 1 disabled heap windows. - Sole failure: `hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_it`, adapter/setup HRESULT `0x80070057`. Reproduced with `cargo test --locked -p xcl --lib hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_it -- --exact --nocapture --test-threads=1` on the exact clean main baseline: 0 passed, 1 failed. Existing adapter-selection issue tracked separately in #2318. - `cargo test --locked -p xcl --lib slab_tests -- --test-threads=1 --nocapture`: 6 passed, 0 failed, 0 ignored, no skips. - `cargo test --locked -p xcl --lib dispatch_chain -- --test-threads=1 --nocapture` on baseline and candidate: each 9 passed, 0 failed, 0 ignored; each has 1 explicit native-wave64 skip. The 3D divergent-forward-edge fixture covers wave32 and split-wave64, whole/CPU equality, slab budgets 1/2/3/6/7/12 and guard words. - Bounded standalone Rust allocator probe compiled with `rustc -O`, extracting the actual planner from each revision: requesting one slab of `[1024,1024,1]`, budget 1, changes **19 allocation/reallocation calls and 24 MiB peak requested live bytes to 0 calls / 0 bytes**. The same zero-allocation assertion fails on baseline (exit 101) and passes on candidate (exit 0). The bounded `[1024,1024,8]`, budget 1 case changes 192 MiB to zero. Across 12 comparable prefix/full-plan cases, counts and order-sensitive checksums match; all candidate cases allocate zero. This measures the planner's allocator requests, not process RSS or VRAM. No FPS or retail-crash fix is claimed. - `git diff --check`: passed. Independent Codex subagent review found no blocking issue. **Regression run** - Main: not run; no locally available unpacked retail Xbox Series title. - PR: not run for the same reason. No synthetic fixture is presented as a retail run. This draft does not yet satisfy the runtime smoke gate. **Not tested** - Retail startup/world loading, frame rate, process peak commit, AMD, native wave64, and release workspace build. The known full-suite adapter setup failure remains outside this change. **AI use** - OpenAI Codex (GPT-6; exact deployment variant unavailable), with subagents, investigated the issue, wrote the implementation and tests, measured the actual planner, ran validation and reviewed the diff. No game data or SDK binaries are included.
SlopTart commented 2026-11-25 17:07:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T16:49:02Z.


Tested: current PR head merged onto current origin/main (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target x86_64-pc-windows-gnu run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).

No Linux/Wine report in the thread yet; adding one.

  • gpu_ suite: 144 passed / 3 failed / 1 ignored, this rig's known baseline set (fuzz seed 1003 of #2115, mad/mac, depth-buffer placement). No delta.
  • All five new slab-plan tests (outside the gpu_ filter), targeted in one run: slabs_keep_partial_rows_and_planes_in_order, slabs_preserve_linear_group_order, huge_dispatch_yields_only_the_requested_prefix, maximum_budget_keeps_dimension_products_wide, zero_axes_finish_even_with_huge_other_axes: 5 passed; 0 failed.

Not tested: retail titles (no title data on this lane, counts only).

AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7168576410 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350#issuecomment-7168576410). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-25T16:49:02Z. --- **Tested**: current PR head merged onto current `origin/main` (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target `x86_64-pc-windows-gnu` run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29). No Linux/Wine report in the thread yet; adding one. - `gpu_` suite: 144 passed / 3 failed / 1 ignored, this rig's known baseline set (fuzz seed 1003 of #2115, mad/mac, depth-buffer placement). No delta. - All five new slab-plan tests (outside the `gpu_` filter), targeted in one run: `slabs_keep_partial_rows_and_planes_in_order`, `slabs_preserve_linear_group_order`, `huge_dispatch_yields_only_the_requested_prefix`, `maximum_budget_keeps_dimension_products_wide`, `zero_axes_finish_even_with_huge_other_axes`: `5 passed; 0 failed`. **Not tested**: retail titles (no title data on this lane, counts only). **AI use**: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
DavidM1911 commented 2026-11-25 19:09:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T18:37:26Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7171165039 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350#issuecomment-7171165039). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T18:37:26Z. --- 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!
razormontana commented 2026-11-25 22:06:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by razormontana on 2026-11-25T21:46:43Z.


Independent validation for XCL #2350

The optimized slab planner requested zero Rust heap allocations in eight synthetic cases. The base and candidate produced the same slab counts and order-sensitive checksums in every case, and the paired RTX 3070 tests matched the expected GPU readback. Both 60-second retail startup runs exited cleanly with zero device removals. PR #2350

Tested

  • Clean base 082944135cd2b96288470a595861fa608eee08dc and clean PR head 4cd2bc20cc2841dcfb631379870f6de376217e82. Windows 11 Pro build 22631.5335, Intel Core i7-10700K, 32 GB RAM, NVIDIA GeForce RTX 3070 8 GB with driver 32.0.16.1742, Rust 1.100.0 MSVC debug and Windows SDK DXC 1.9.2602.17. git diff --check 0829441 4cd2bc2 passed.
  • cargo test --offline --locked -p xcl --lib slab_tests -- --nocapture --test-threads=1 passed 1 test on the base and 6 on the head. Both runs had 0 failures, 0 ignored and 0 skips. The head includes the oversized-prefix, zero-axis and ordered-coverage cases.
  • cargo test --offline --locked -p xcl --lib dispatch_chain -- --nocapture --test-threads=1 with XCL_ADAPTER=3070 and Windows SDK DXC ran serially under the memory guard. Both runs exited 0 with 9 Rust test passes, 0 failures and 0 ignored. Each reported one explicit skip for the native-wave64 GPU portion. The three-piece divergent-branch fixture matched the whole shader and CPU expected output for both wave32 and split wave64. It checked 384 and 768 words respectively, plus 16 unchanged guard words, across six slab budgets.
  • python probe_slabs.py extracted each revision's dispatch_slabs and compiled the resulting probe with rustc -O --edition=2021. The [1024, 1024, 1] one-slab prefix with budget 1 reproduced 19 allocation or reallocation calls and 25,165,824 peak live requested bytes at base. Both counts reached zero on the head. Consuming full plans also allocated zero on the head.
  • A recorder-shaped benchmark kept the base's sizing plan live while consuming the second plan. The head consumed one lazy plan. The synthetic grid was [240, 135, 1].
Groups per slab budget Slabs Base allocator calls Base peak requested bytes Head calls / peak bytes
1 32,400 28 1,572,864 0 / 0
10 3,240 22 196,608 0 / 0
1,401 27 8 1,536 0 / 0

Regression run

Both clean release builds ran scripts/smoke.ps1 -Game <folder> -Seconds 60 on the same retail title in the Series S profile on the RTX 3070. They used XCL_DIRECT_DXIL=1, networking off and identical starting copies of XCL's warmed cache. NVIDIA's driver cache settings were left at their defaults.

Main (PR parent)

xcl-smoke v1
commit: 082944135cd2b96288470a595861fa608eee08dc
gpu: NVIDIA GeForce RTX 3070
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 664 (PresentX 664)
presents per 2 s (last 3): 1 2 21
device removals: 0
crashes: 0
peak commit: 14501 MB

Exact PR head

xcl-smoke v1
commit: 4cd2bc20cc2841dcfb631379870f6de376217e82
gpu: NVIDIA GeForce RTX 3070
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 717 (PresentX 717)
presents per 2 s (last 3): 9 23 21
device removals: 0
crashes: 0
peak commit: 14705 MB

Not tested

The allocator probe measures Rust slab-plan requests. It does not measure native command-list allocation, process commit or GPU scratch. Both retail startup logs reported zero chained dispatches and 0 MiB peak split scratch. The focused GPU fixture exercises the shared recording helper, while the runtime's whole-pipeline fallback after scratch allocation failure remains untested. AMD, native wave64 and a full workspace run were outside this independent validation.

AI use

One OpenAI Codex agent (GPT-6.2 Sol) reviewed the diff, built the probe, ran the focused validation and drafted this report. A second agent using GPT-6.2 Sol checked the report against the raw test and probe results. The lead agent ran the paired retail smoke using OpenAI Codex (GPT-6.2).

<!-- greyfinch-sync:ivall/xcl:comment:7175525638 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350#issuecomment-7175525638). Originally posted by [razormontana](https://github.com/razormontana) on 2026-11-25T21:46:43Z. --- # Independent validation for XCL #2350 The optimized slab planner requested zero Rust heap allocations in eight synthetic cases. The base and candidate produced the same slab counts and order-sensitive checksums in every case, and the paired RTX 3070 tests matched the expected GPU readback. Both 60-second retail startup runs exited cleanly with zero device removals. [PR #2350](https://github.com/xcl-dev/xcl/pull/2350) **Tested** - Clean base `082944135cd2b96288470a595861fa608eee08dc` and clean PR head `4cd2bc20cc2841dcfb631379870f6de376217e82`. Windows 11 Pro build 22631.5335, Intel Core i7-10700K, 32 GB RAM, NVIDIA GeForce RTX 3070 8 GB with driver 32.0.16.1742, Rust 1.100.0 MSVC debug and Windows SDK DXC 1.9.2602.17. `git diff --check 0829441 4cd2bc2` passed. - `cargo test --offline --locked -p xcl --lib slab_tests -- --nocapture --test-threads=1` passed 1 test on the base and 6 on the head. Both runs had 0 failures, 0 ignored and 0 skips. The head includes the oversized-prefix, zero-axis and ordered-coverage cases. - `cargo test --offline --locked -p xcl --lib dispatch_chain -- --nocapture --test-threads=1` with `XCL_ADAPTER=3070` and Windows SDK DXC ran serially under the memory guard. Both runs exited 0 with 9 Rust test passes, 0 failures and 0 ignored. Each reported one explicit skip for the native-wave64 GPU portion. The three-piece divergent-branch fixture matched the whole shader and CPU expected output for both wave32 and split wave64. It checked 384 and 768 words respectively, plus 16 unchanged guard words, across six slab budgets. - `python probe_slabs.py` extracted each revision's `dispatch_slabs` and compiled the resulting probe with `rustc -O --edition=2021`. The `[1024, 1024, 1]` one-slab prefix with budget 1 reproduced 19 allocation or reallocation calls and 25,165,824 peak live requested bytes at base. Both counts reached zero on the head. Consuming full plans also allocated zero on the head. - A recorder-shaped benchmark kept the base's sizing plan live while consuming the second plan. The head consumed one lazy plan. The synthetic grid was `[240, 135, 1]`. | Groups per slab budget | Slabs | Base allocator calls | Base peak requested bytes | Head calls / peak bytes | | ---: | ---: | ---: | ---: | ---: | | 1 | 32,400 | 28 | 1,572,864 | 0 / 0 | | 10 | 3,240 | 22 | 196,608 | 0 / 0 | | 1,401 | 27 | 8 | 1,536 | 0 / 0 | **Regression run** Both clean release builds ran `scripts/smoke.ps1 -Game <folder> -Seconds 60` on the same retail title in the Series S profile on the RTX 3070. They used `XCL_DIRECT_DXIL=1`, networking off and identical starting copies of XCL's warmed cache. NVIDIA's driver cache settings were left at their defaults. Main (PR parent) ``` xcl-smoke v1 commit: 082944135cd2b96288470a595861fa608eee08dc gpu: NVIDIA GeForce RTX 3070 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 664 (PresentX 664) presents per 2 s (last 3): 1 2 21 device removals: 0 crashes: 0 peak commit: 14501 MB ``` Exact PR head ``` xcl-smoke v1 commit: 4cd2bc20cc2841dcfb631379870f6de376217e82 gpu: NVIDIA GeForce RTX 3070 title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 717 (PresentX 717) presents per 2 s (last 3): 9 23 21 device removals: 0 crashes: 0 peak commit: 14705 MB ``` **Not tested** The allocator probe measures Rust slab-plan requests. It does not measure native command-list allocation, process commit or GPU scratch. Both retail startup logs reported zero chained dispatches and 0 MiB peak split scratch. The focused GPU fixture exercises the shared recording helper, while the runtime's whole-pipeline fallback after scratch allocation failure remains untested. AMD, native wave64 and a full workspace run were outside this independent validation. **AI use** One OpenAI Codex agent (GPT-6.2 Sol) reviewed the diff, built the probe, ran the focused validation and drafted this report. A second agent using GPT-6.2 Sol checked the report against the raw test and probe results. The lead agent ran the paired retail smoke using OpenAI Codex (GPT-6.2).
Prime1997 commented 2026-11-26 13:30:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Prime1997 on 2026-11-26T13:30:16Z.

Review: COMMENTED


Good within the targeted test scope; retain for integration. Generates dispatch slabs lazily, so asking for a small prefix of a huge grid does not first materialize the whole grid.

Reviewed PR head 4cd2bc20cc2841dcfb631379870f6de376217e82. Tested an isolated, uncommitted merge-tree integration with latest main b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7, tree a52d1852760a668c8d909625d49b18c06ceb24ee; this is not a clean PR-head run. Integration source overlay SHA-256: ed7c5eb1c8025066057b13be2c88792a239f8187b05706cac2da10e2a98781d2.

Measured: 3 passed, 0 failed, 0 ignored, 0 skipped. Exact selected filters, each run in a fresh process:

  • gpu::recomp::pso::slab_tests::slabs_preserve_linear_group_order
  • gpu::recomp::pso::slab_tests::slabs_keep_partial_rows_and_planes_in_order
  • gpu::recomp::pso::slab_tests::zero_axes_finish_even_with_huge_other_axes

Build: cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>. Run each: <test-exe> <exact-filter> --exact --test-threads=1 --nocapture. Private target/executable paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB, Rust 1.100.0 MSVC debug; private temporary/cache paths, two low-priority build jobs, 90-second per-test bound.

Scope: Three CPU fixtures cover ordering and zero-axis completion. Laziness was also inspected in source; the enormous-grid prefix fixture and an eager baseline capable of exhausting memory were not executed. No full suite, retail run, sustained memory pressure or performance benefit is established. Passing these fixtures is not merge certification.

AI use: Codex (GPT-6) inspected the changes and fixtures, ran the checks and verified raw receipts. Optional temporary Discord for coordinating contributor work, testing and comparing results.

<!-- greyfinch-sync:ivall/xcl:review:6074977388 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350#pullrequestreview-6074977388). Originally posted by [Prime1997](https://github.com/Prime1997) on 2026-11-26T13:30:16Z. **Review:** COMMENTED --- **Good within the targeted test scope; retain for integration.** Generates dispatch slabs lazily, so asking for a small prefix of a huge grid does not first materialize the whole grid. Reviewed PR head `4cd2bc20cc2841dcfb631379870f6de376217e82`. Tested an isolated, uncommitted merge-tree integration with latest main `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`, tree `a52d1852760a668c8d909625d49b18c06ceb24ee`; this is not a clean PR-head run. Integration source overlay SHA-256: `ed7c5eb1c8025066057b13be2c88792a239f8187b05706cac2da10e2a98781d2`. **Measured: 3 passed, 0 failed, 0 ignored, 0 skipped.** Exact selected filters, each run in a fresh process: - `gpu::recomp::pso::slab_tests::slabs_preserve_linear_group_order` - `gpu::recomp::pso::slab_tests::slabs_keep_partial_rows_and_planes_in_order` - `gpu::recomp::pso::slab_tests::zero_axes_finish_even_with_huge_other_axes` Build: `cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>`. Run each: `<test-exe> <exact-filter> --exact --test-threads=1 --nocapture`. Private target/executable paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB, Rust 1.100.0 MSVC debug; private temporary/cache paths, two low-priority build jobs, 90-second per-test bound. **Scope:** Three CPU fixtures cover ordering and zero-axis completion. Laziness was also inspected in source; the enormous-grid prefix fixture and an eager baseline capable of exhausting memory were not executed. No full suite, retail run, sustained memory pressure or performance benefit is established. Passing these fixtures is not merge certification. AI use: Codex (GPT-6) inspected the changes and fixtures, ran the checks and verified raw receipts. Optional temporary [Discord](https://discord.gg/gK3y7WRRY) for coordinating contributor work, testing and comparing results.
github-actions[bot] commented 2026-12-01 02:34:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:34:28Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7298761957 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350#issuecomment-7298761957). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-12-01T02:34:28Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 07:53:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:53:24Z.


Triage (#1607) – head 4cd2bc2

No open or merged PR makes dispatch_slabs lazy. On main it still returns a Vec, dispatch_chain::dispatch still plans slabs before checking for scratch, and main has a new caller (runner.rs, dispatch_slabs(..).len() for rounds) that will need .count() after the rebase. This PR touches the same lines of dispatch_chain::dispatch as #2333, so they will conflict, but the changes are different. No problems found in the diff: order and barriers are kept, and zero grids end the plan immediately.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7304609921 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2350#issuecomment-7304609921). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:53:24Z. --- **Triage (#1607)** – head 4cd2bc2 No open or merged PR makes `dispatch_slabs` lazy. On main it still returns a Vec, `dispatch_chain::dispatch` still plans slabs before checking for scratch, and main has a new caller (`runner.rs`, `dispatch_slabs(..).len()` for rounds) that will need `.count()` after the rebase. This PR touches the same lines of `dispatch_chain::dispatch` as #2333, so they will conflict, but the changes are different. No problems found in the diff: order and barriers are kept, and zero grids end the plan immediately. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2350:upstream-pr/2350'
git switch 'upstream-pr/2350'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2350'
git switch 'upstream-pr/2350'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2350'
git switch 'upstream-pr/2350'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2350'
git switch 'main'
git merge --squash 'upstream-pr/2350'
git switch 'main'
git merge --ff-only 'upstream-pr/2350'
git switch 'main'
git merge 'upstream-pr/2350'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2340
No description provided.