Recompiler: folded wave64 instruction driver and kernel entry (tests only) #3543

Closed
throny wants to merge 3 commits from upstream-pr/3543 into main
throny commented 2026-11-30 19:16:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-30T19:16:11Z.


Stacked on #3530 (which is stacked on #3529); only the top commit belongs here. Part of #3011 (C57, step 3 of the design note).

The instruction driver of the folded wave64 form: a wave64 kernel runs in one hardware wave of 32 lanes, hardware lane t carrying console lanes t and t + 32. Lw::inst_folded lowers the program's instructions through the half context (step 1) and the lane primitives (step 2). Nothing in the runtime asks for the form yet (kernel::translate_folded is cfg(test)), so nothing a title runs changes.

What is in it

  • crates/xcl/src/gpu/dxil/lower_fold.rs (new): Lw::inst_folded. Scalar instructions are lowered once; VALU once per half, with the mask writes of both halves collected and written once; v_readlane, v_readfirstlane, v_writelane, v_mbcnt through the folded lane primitives; everything else (vector memory, LDS, images, ds_bpermute, DPP, relative moves, s_barrier, mode writes) is refused with the translator's usual error, so a caller falls back to another form.
  • crates/xcl/src/gpu/dxil/kernel.rs: translate_folded (tests only), the fold flag through translate_entry_with / translate_on_this_thread, the kernel entry (setup_lanes_folded([64,1,1]), vgpr_base / vgpr_base_hi), the epilogue storing the second bank. A program whose two banks would not fit a hardware lane (2N + 16 > 255 registers) is refused (review fix C77).
  • crates/xcl/src/gpu/dxil/lower.rs: fold_masks, vgpr_base_hi in Init. Because both halves' mask writes are collected and written once, a mask read through a loop join is the same for both halves; MASK_JOIN_LOOP in fold_tests.rs is a regression test for that case (C76, the fault fixed in another project b8f365ad), no separate code change.
  • crates/xcl/src/gpu/dxil/lanes.rs: ballot and rla refuse in the folded form (not_folded); write_lane_folded masks the lane to 0..63. These are small fixes to step 2 code, kept in this commit.
  • crates/xcl/src/gpu/dxil/fold_tests.rs (new), core_tests.rs, mod.rs: tests comparing folded kernels with the 64-lane result.

773 changed lines, of which 454 are tests (fold_tests.rs); the code is about 320 lines.

Tested

  • NVIDIA GeForce RTX 4080 (32-lane waves), Windows 11 build 26300, debug for the tests, release for the smoke runs. Nothing else was on the GPU.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4 on 5868686a (same tree as the head, only the commit message changed): 2892 passed, 1 failed, 51 ignored.
  • The 1 failure, gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, is the one #3530 reports failing on origin/main too (not from this PR).
  • SKIPPED on this adapter: the wave64 variants of the gpu::recomp::lower / lower_dxil tests and dispatch_chain_native_wave64_builds_whole (no wave64), two heap-window tests (no heap windows), shaders::tests::pso_measurement_compiles_an_exact_synthetic_record (driver cache cannot be disabled).

Regression run

  • main ff0c364b (scripts/smoke.ps1 -Game <title>, 60 s):
xcl-smoke v1
commit: ff0c364b3de011c13ed45865480c21918a79ec89
gpu: NVIDIA GeForce RTX 4080
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1647 (PresentX 1647)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15902 MB
  • this PR's head commit (clean tree, committed):
xcl-smoke v1
commit: 6597afd4e076419018f4b29d5756c1d64eae00f6
gpu: NVIDIA GeForce RTX 4080
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1686 (PresentX 1686)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14836 MB
  • Release builds of each commit in its own target directory (-Xcl). The PR branch is based on main 9dfbe3ea (via #3529 / #3530), the main run is on the current origin/main.

Not tested

  • The smoke run is one title for 60 s; it does not exercise the code of this PR (nothing selects the folded form yet).
  • Folded programs with memory, LDS or images (refused for now), more than one thread group per dispatch beyond what fold_tests.rs covers.
  • AMD and Intel GPUs; a wave64-capable adapter.

AI use

  • Claude Code (Claude Sonnet 5.5) prepared the branch and ran tests; design and code by Claude Code (Claude Opus 5.5 / Fable 5.2).

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5572057791 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543). Originally posted by [throny](https://github.com/throny) on 2026-11-30T19:16:11Z. --- Stacked on #3530 (which is stacked on #3529); only the top commit belongs here. Part of #3011 (C57, step 3 of the design note). The instruction driver of the folded wave64 form: a wave64 kernel runs in one hardware wave of 32 lanes, hardware lane t carrying console lanes t and t + 32. `Lw::inst_folded` lowers the program's instructions through the half context (step 1) and the lane primitives (step 2). Nothing in the runtime asks for the form yet (`kernel::translate_folded` is `cfg(test)`), so nothing a title runs changes. **What is in it** - `crates/xcl/src/gpu/dxil/lower_fold.rs` (new): `Lw::inst_folded`. Scalar instructions are lowered once; VALU once per half, with the mask writes of both halves collected and written once; `v_readlane`, `v_readfirstlane`, `v_writelane`, `v_mbcnt` through the folded lane primitives; everything else (vector memory, LDS, images, `ds_bpermute`, DPP, relative moves, `s_barrier`, mode writes) is refused with the translator's usual error, so a caller falls back to another form. - `crates/xcl/src/gpu/dxil/kernel.rs`: `translate_folded` (tests only), the `fold` flag through `translate_entry_with` / `translate_on_this_thread`, the kernel entry (`setup_lanes_folded([64,1,1])`, `vgpr_base` / `vgpr_base_hi`), the epilogue storing the second bank. A program whose two banks would not fit a hardware lane (2N + 16 > 255 registers) is refused (review fix C77). - `crates/xcl/src/gpu/dxil/lower.rs`: `fold_masks`, `vgpr_base_hi` in `Init`. Because both halves' mask writes are collected and written once, a mask read through a loop join is the same for both halves; `MASK_JOIN_LOOP` in `fold_tests.rs` is a regression test for that case (C76, the fault fixed in another project b8f365ad), no separate code change. - `crates/xcl/src/gpu/dxil/lanes.rs`: `ballot` and `rla` refuse in the folded form (`not_folded`); `write_lane_folded` masks the lane to 0..63. These are small fixes to step 2 code, kept in this commit. - `crates/xcl/src/gpu/dxil/fold_tests.rs` (new), `core_tests.rs`, `mod.rs`: tests comparing folded kernels with the 64-lane result. 773 changed lines, of which 454 are tests (`fold_tests.rs`); the code is about 320 lines. **Tested** - NVIDIA GeForce RTX 4080 (32-lane waves), Windows 11 build 26300, debug for the tests, release for the smoke runs. Nothing else was on the GPU. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4` on 5868686a (same tree as the head, only the commit message changed): 2892 passed, 1 failed, 51 ignored. - The 1 failure, `gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16`, is the one #3530 reports failing on `origin/main` too (not from this PR). - `SKIPPED` on this adapter: the wave64 variants of the `gpu::recomp::lower` / `lower_dxil` tests and `dispatch_chain_native_wave64_builds_whole` (no wave64), two heap-window tests (no heap windows), `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` (driver cache cannot be disabled). **Regression run** - main ff0c364b (`scripts/smoke.ps1 -Game <title>`, 60 s): ``` xcl-smoke v1 commit: ff0c364b3de011c13ed45865480c21918a79ec89 gpu: NVIDIA GeForce RTX 4080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1647 (PresentX 1647) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15902 MB ``` - this PR's head commit (clean tree, committed): ``` xcl-smoke v1 commit: 6597afd4e076419018f4b29d5756c1d64eae00f6 gpu: NVIDIA GeForce RTX 4080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1686 (PresentX 1686) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14836 MB ``` - Release builds of each commit in its own target directory (`-Xcl`). The PR branch is based on main 9dfbe3ea (via #3529 / #3530), the main run is on the current `origin/main`. **Not tested** - The smoke run is one title for 60 s; it does not exercise the code of this PR (nothing selects the folded form yet). - Folded programs with memory, LDS or images (refused for now), more than one thread group per dispatch beyond what `fold_tests.rs` covers. - AMD and Intel GPUs; a wave64-capable adapter. **AI use** - Claude Code (Claude Sonnet 5.5) prepared the branch and ran tests; design and code by Claude Code (Claude Opus 5.5 / Fable 5.2). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
KDenKC commented 2026-11-30 19:44:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-30T19:44:40Z.


merge-check
base: ff0c364b3de011c13ed45865480c21918a79ec89
head: 6597afd4e076419018f4b29d5756c1d64eae00f6
merge: clean (merge commit d104eccf; #3543 is stacked on #3530 -> #3529, whose commits it carries unchanged)
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 (leaving out 3 uma_driver tests this VM cannot run: a_refused_gpu_upload_segment_becomes_custom, mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment, failed_restore_stops_before_importing_an_unbacked_window) -> 2888 passed, 5 failed, 51 ignored; SKIPPED: 28 (22 no wave64, 2 no heap windows, 3 no debug layer, 1 driver cache cannot be disabled), the same 28 as on the base; failing: title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels, the 3 title_textures::tests::stream_recheck_* tests, test_title_runs_and_game_folder_is_untouched, all 5 failing on the base alone too (base ff0c364b on the same machine: 2881 passed, 5 failed, 51 ignored, same 28 SKIPPED). The folded tests RAN on this wave32 Ampere card, none SKIPPED: `-- fold`: 21 passed, 0 failed (gpu_folded_wave64_agrees_with_split_and_hlsl, gpu_folded_wave64_loop_reads_its_mask_join_as_a_number, gpu_folded_wave64_cross_half_operations, folded_wave64_refuses_what_it_has_not_doubled, folded_wave64_refuses_more_vgprs_than_two_banks_fit among them); `-- half_`: 17 passed, 0 failed.
review: none blocking; the whole diff read (#3543's own commit 6597afd4: lower_fold.rs, fold_tests.rs, kernel.rs, lower.rs, lanes.rs, mod.rs, core_tests.rs; #3529 / #3530's commits as checked on those PRs). No runtime change: translate_folded is #[cfg(test)], every other translate_entry_with caller passes fold = false, and each new branch (fold_masks, vgpr_base_hi, the compact-latch arm, not_folded, hw = 32) is reached only with fold set; with it unset Init still gives the second bank zeros and write_mask writes as before. The driver: scalar instructions are lowered once; VALU once per half, refused if a half writes any scalar besides one collected mask, which write_mask_folded writes once from both conditions (so half 1 reads EXEC / VCC as half 0 did); v_readlane / v_readfirstlane / v_writelane / v_mbcnt go through #3530's primitives and require scalar lane / value operands; memory, LDS, images, DPP, permutes, relative moves, s_barrier and mode writes are refused, so a caller falls back to another form. The note from #3530's check is answered here: the folded kernel is finished with wave size 32 (finish_dispatch(.., hw = 32)), and its GPU tests skip with "no wave32" on an adapter that cannot run one. The VGPR limit (2N + 16 > 255 refused) is a conservative heuristic, as its comment says.
performance: none: nothing in the runtime selects the folded form (tests only); no emitted code of existing programs changes. Not measured in a game run.
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 3090 24 GB (VM), driver 621.24 (32.0.16.2124), Intel i7-10700T, Windows 11 26300.9974 / Claude Code, Claude Opus 5.5

AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.

<!-- greyfinch-sync:ivall/xcl:comment:7289871854 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7289871854). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-30T19:44:40Z. --- ```text merge-check base: ff0c364b3de011c13ed45865480c21918a79ec89 head: 6597afd4e076419018f4b29d5756c1d64eae00f6 merge: clean (merge commit d104eccf; #3543 is stacked on #3530 -> #3529, whose commits it carries unchanged) build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 (leaving out 3 uma_driver tests this VM cannot run: a_refused_gpu_upload_segment_becomes_custom, mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment, failed_restore_stops_before_importing_an_unbacked_window) -> 2888 passed, 5 failed, 51 ignored; SKIPPED: 28 (22 no wave64, 2 no heap windows, 3 no debug layer, 1 driver cache cannot be disabled), the same 28 as on the base; failing: title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels, the 3 title_textures::tests::stream_recheck_* tests, test_title_runs_and_game_folder_is_untouched, all 5 failing on the base alone too (base ff0c364b on the same machine: 2881 passed, 5 failed, 51 ignored, same 28 SKIPPED). The folded tests RAN on this wave32 Ampere card, none SKIPPED: `-- fold`: 21 passed, 0 failed (gpu_folded_wave64_agrees_with_split_and_hlsl, gpu_folded_wave64_loop_reads_its_mask_join_as_a_number, gpu_folded_wave64_cross_half_operations, folded_wave64_refuses_what_it_has_not_doubled, folded_wave64_refuses_more_vgprs_than_two_banks_fit among them); `-- half_`: 17 passed, 0 failed. review: none blocking; the whole diff read (#3543's own commit 6597afd4: lower_fold.rs, fold_tests.rs, kernel.rs, lower.rs, lanes.rs, mod.rs, core_tests.rs; #3529 / #3530's commits as checked on those PRs). No runtime change: translate_folded is #[cfg(test)], every other translate_entry_with caller passes fold = false, and each new branch (fold_masks, vgpr_base_hi, the compact-latch arm, not_folded, hw = 32) is reached only with fold set; with it unset Init still gives the second bank zeros and write_mask writes as before. The driver: scalar instructions are lowered once; VALU once per half, refused if a half writes any scalar besides one collected mask, which write_mask_folded writes once from both conditions (so half 1 reads EXEC / VCC as half 0 did); v_readlane / v_readfirstlane / v_writelane / v_mbcnt go through #3530's primitives and require scalar lane / value operands; memory, LDS, images, DPP, permutes, relative moves, s_barrier and mode writes are refused, so a caller falls back to another form. The note from #3530's check is answered here: the folded kernel is finished with wave size 32 (finish_dispatch(.., hw = 32)), and its GPU tests skip with "no wave32" on an adapter that cannot run one. The VGPR limit (2N + 16 > 255 refused) is a conservative heuristic, as its comment says. performance: none: nothing in the runtime selects the folded form (tests only); no emitted code of existing programs changes. Not measured in a game run. verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 3090 24 GB (VM), driver 621.24 (32.0.16.2124), Intel i7-10700T, Windows 11 26300.9974 / Claude Code, Claude Opus 5.5 ``` AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.
throny commented 2026-12-01 01:41:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T01:41:25Z.


Measurement of the folded form in the world, as promised on #3011: the full local stack (steps 1–8 on main 0fe06eb0), RTX 4080 16 GB (621.40), two 900 s runs of the same save and inputs with XCL_GPU_PROFILE=1, XCL_WAVE64_FOLD unset vs =1, each with its own DXIL cache. No device removal in either.

  • The fold took 279 of 512 wave64 programs and refused 233.
  • Per-call GPU time of the programs that are "wave64 split in halves" without the fold (34 programs present in both runs' top lists, about 16 % of GPU time): the folded ones came out at a median 1.27× their split time (one large one faster, 9.6 → 7.2 ms per call; most slightly slower). The refused ones, identical code in both runs, came out at a median 0.87×, so the run-to-run spread is about as large as the difference: no measurable gain from folding here.
  • Whole-run numbers (1.54 vs 1.86 presents/s, 1.63 vs 1.79 s of GPU time per 2 s window) are dominated by other differences between the runs (the first one started cold).

So the stack stays as it is: steps 1–3 are correct and tested, but I won't push steps 4+ without a reason. A note for whoever picks it up: the profiler's form label still says "split in halves" for folded programs; it should name the folded form.

AI use: Claude Code (Claude Opus 5.5), runs and aggregation by a Claude Sonnet 5.5 sub-agent.

<!-- greyfinch-sync:ivall/xcl:comment:7297783144 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7297783144). Originally posted by [throny](https://github.com/throny) on 2026-12-01T01:41:25Z. --- Measurement of the folded form in the world, as promised on #3011: the full local stack (steps 1–8 on `main` `0fe06eb0`), RTX 4080 16 GB (621.40), two 900 s runs of the same save and inputs with `XCL_GPU_PROFILE=1`, `XCL_WAVE64_FOLD` unset vs `=1`, each with its own DXIL cache. No device removal in either. - The fold took 279 of 512 wave64 programs and refused 233. - Per-call GPU time of the programs that are "wave64 split in halves" without the fold (34 programs present in both runs' top lists, about 16 % of GPU time): the folded ones came out at a median **1.27×** their split time (one large one faster, 9.6 → 7.2 ms per call; most slightly slower). The refused ones, identical code in both runs, came out at a median 0.87×, so the run-to-run spread is about as large as the difference: **no measurable gain from folding** here. - Whole-run numbers (1.54 vs 1.86 presents/s, 1.63 vs 1.79 s of GPU time per 2 s window) are dominated by other differences between the runs (the first one started cold). So the stack stays as it is: steps 1–3 are correct and tested, but I won't push steps 4+ without a reason. A note for whoever picks it up: the profiler's form label still says "split in halves" for folded programs; it should name the folded form. AI use: Claude Code (Claude Opus 5.5), runs and aggregation by a Claude Sonnet 5.5 sub-agent.
Foniass commented 2026-12-01 02:57:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T02:57:03Z.


merge-check
base: d0832e614f
head: 6597afd4e0
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2897 passed, 0 failed, 51 ignored; SKIPPED: 28 (20 no wave64, 2 no d3d12SDKLayers.dll, 1 no D3D12 debug layer, 1 no heap windows, 1 cannot disable the driver cache, 3 others; the same set as on main); failing: none
review: read the top commit (91bc7718..6597afd4) in full. No behaviour change for titles: fold is only set through the test-only translate_folded, and the new code in Init::first / store_registers only runs with vgpr_base_hi. Minor: (1) the andc(l, 63) added to write_lane_folded (lanes.rs ~1175) changes nothing, since the loop already masks the lane and bit 5 is unchanged, so it is not a fix and should be squashed into #3530 with the other lanes.rs change; (2) no test reaches the not_folded guards in ballot / rla (class() refuses those first) or the refusals in lower_fold.rs ~130/~140; (3) counting NSA address registers in kernel.rs ~335 is dead while every image instruction is refused. No GPU path a title takes is changed, so no smoke run.
performance: none by default (test-only entry point); not measured
verdict: safe to merge (after #3529 and #3530, which it is stacked on; this run tested the three together)
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
AI-written and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7299161811 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7299161811). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T02:57:03Z. --- merge-check base: d0832e614fa7d6ae027bb4feb27ccb9121f54a8f head: 6597afd4e076419018f4b29d5756c1d64eae00f6 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2897 passed, 0 failed, 51 ignored; SKIPPED: 28 (20 no wave64, 2 no d3d12SDKLayers.dll, 1 no D3D12 debug layer, 1 no heap windows, 1 cannot disable the driver cache, 3 others; the same set as on main); failing: none review: read the top commit (91bc7718..6597afd4) in full. No behaviour change for titles: `fold` is only set through the test-only `translate_folded`, and the new code in `Init::first` / `store_registers` only runs with `vgpr_base_hi`. Minor: (1) the `andc(l, 63)` added to `write_lane_folded` (lanes.rs ~1175) changes nothing, since the loop already masks the lane and bit 5 is unchanged, so it is not a fix and should be squashed into #3530 with the other lanes.rs change; (2) no test reaches the `not_folded` guards in `ballot` / `rla` (class() refuses those first) or the refusals in lower_fold.rs ~130/~140; (3) counting NSA address registers in kernel.rs ~335 is dead while every image instruction is refused. No GPU path a title takes is changed, so no smoke run. performance: none by default (test-only entry point); not measured verdict: safe to merge (after #3529 and #3530, which it is stacked on; this run tested the three together) hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5 AI-written and posted by Foniass without a human check of each point.
brainhay5 commented 2026-12-01 03:09:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-12-01T03:09:58Z.


merge-check claim
head: 6597afd4e0

<!-- greyfinch-sync:ivall/xcl:comment:7299397364 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7299397364). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-12-01T03:09:58Z. --- merge-check claim head: 6597afd4e076419018f4b29d5756c1d64eae00f6
brainhay5 commented 2026-12-01 03:16:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-12-01T03:16:11Z.


merge-check claim
head: 6597afd4e0

<!-- greyfinch-sync:ivall/xcl:comment:7299525710 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7299525710). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-12-01T03:16:11Z. --- merge-check claim head: 6597afd4e076419018f4b29d5756c1d64eae00f6
brainhay5 commented 2026-12-01 03:17:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-12-01T03:17:29Z.


merge-check
base: d0832e614f
head: 6597afd4e0
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2896 passed, 1 failed, 51 ignored; 29 SKIPPED lines
failing: test_title_runs_and_game_folder_is_untouched
review: automated overnight check — diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no duplicate search performed; no line-by-line code review.
performance: not assessed beyond the suite.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017

<!-- greyfinch-sync:ivall/xcl:comment:7299548474 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7299548474). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-12-01T03:17:29Z. --- merge-check base: d0832e614fa7d6ae027bb4feb27ccb9121f54a8f head: 6597afd4e076419018f4b29d5756c1d64eae00f6 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2896 passed, 1 failed, 51 ignored; 29 SKIPPED lines failing: test_title_runs_and_game_folder_is_untouched review: automated overnight check — diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no duplicate search performed; no line-by-line code review. performance: not assessed beyond the suite. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017
throny commented 2026-12-01 06:46:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T06:46:56Z.


Closing our own PR to keep the queue small: measured in the world (see #3543), the folded wave64 form brings no gain on an RTX 4080 (folded programs ran at a median 1.27× their split time, within run-to-run noise), so this code would sit unused in the tree. The branch stays on throny/xcl; reopen if a later measurement (e.g. on another GPU) shows a gain.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7303265752 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3543#issuecomment-7303265752). Originally posted by [throny](https://github.com/throny) on 2026-12-01T06:46:56Z. --- Closing our own PR to keep the queue small: measured in the world (see #3543), the folded wave64 form brings no gain on an RTX 4080 (folded programs ran at a median 1.27× their split time, within run-to-run noise), so this code would sit unused in the tree. The branch stays on throny/xcl; reopen if a later measurement (e.g. on another GPU) shows a gain. AI use: Claude Code (Claude Opus 5.5).

Pull request closed

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!3543
No description provided.