Recompiler: folded wave64 lane primitives (thread hand-out, two-ballot masks, lane reads, v_mbcnt) #3530

Closed
throny wants to merge 2 commits from upstream-pr/3530 into main
throny commented 2026-11-30 14:59:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-30T14:59:51Z.


Stacked on #3529; only the top commit belongs here. Part of #3011 (C57, step 2/2 of the design note).

The lane primitives of the folded form (one hardware wave of 32 lanes carries a console wave of
64: hardware lane t is console lanes t and t + 32, the second in the VGPR bank of step 1). They
work when Lw::fold is set; no program selects the form yet, so nothing a title runs changes.

What is in it

  • crates/xcl/src/gpu/dxil/lanes.rs, a second impl Lw after the split primitives:
    • folded_numthreads, setup_lanes_folded (-> FoldedThreads): the hardware group is
      [ceil(T / 64) * 32, 1, 1]; hardware thread f is console threads (f >> 5) * 64 + (f & 31)
      and that + 32, console lanes WaveGetLaneIndex() and that + 32; thread id components of both
      halves; the launch EXEC, all ones or, for a partial last wave, two ballots of
      thread < T. Sets fold. No group barrier and no groupshared counter.
    • ballot_folded, write_mask_folded: lo = WaveActiveBallot(cond of half 0).x,
      hi = WaveActiveBallot(cond of half 1).x; both halves' conditions (each under its own EXEC
      bit) are made before the register pair is written, once.
    • read_lane_folded, read_first_lane_folded: WaveReadLaneAt(v of the half, l & 31), the half
      from bit 5 of l (one read when l is known while translating, else both and a select).
    • write_lane_folded: the VGPR of the bank bit 5 of l names, where the lane is l.
    • mbcnt_folded: the count v_mbcnt_lo / _hi adds, for the half selected (half 1 counts the
      whole low dword).
  • crates/xcl/src/gpu/dxil/lower.rs: Lw::each_half (runs a closure for half 0, then half 1, and
    restores the half selected). No line of step 1 changed.
  • THIRD_PARTY.md: a row for another project's fold.rs (GPL-3.0-or-later), whose thread mapping,
    lane read / write and v_mbcnt recipes these follow; the note is above the impl in lanes.rs.
    Nothing was copied: theirs rewrites machine code, this builds DXIL values.
  • Test gpu_folded_wave64_cross_half_operations (lanes.rs, fold_tests).

About 170 lines of code and 250 of test.

Tested

  • NVIDIA GeForce RTX 4080 16 GB (driver 621.40), i9-12900K, Windows 11 build 26300, rustc 1.100.0 (0ef1bc386 2026-11-09), debug for the tests, release for the smoke runs. Nothing else was on the GPU.
  • Step's own tests: cargo test -p xcl --lib -j 12 -- half_tests gpu::dxil folded --test-threads=4: 313 passed, 1 failed (the resinfo_d16 test below), 3 ignored; gpu_folded_wave64_cross_half_operations ran on the GPU (not skipped)
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 2888 passed, 1 failed, 51 ignored
  • The 1 failure, gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 ("2D D16 resinfo clobbered v2/v3"), fails the same way on origin/main 9dfbe3ea (cargo test -p xcl --lib -- gpu_direct_image_get_resinfo_d16: 0 passed, 1 failed), so it is not from this PR. Not looked into further.
  • SKIPPED on this adapter (32-lane waves only): the wave64 variants of gpu::recomp::lower / lower_dxil tests (no wave64), gpu::dxil::kernel::dispatch_chain_native_wave64_builds_whole, two heap-window tests (no heap windows), shaders::tests::pso_measurement_compiles_an_exact_synthetic_record (driver cache cannot be disabled: Developer Mode)
  • About the test: there is no instruction
    driver before step 3, so the test builds a compute entry by hand from the primitives (and
    set_half, act, write32, first_lane, lanemask_lt of the existing lowering) and runs it
    with runner::dispatch in groups of [128,1,1], [104,1,1], [80,1,1] and [8,8,2] console
    threads (64 hardware threads each). Every console thread stores 19 words, each compared with the
    64-lane result: its thread id and components, lane, launch EXEC (full, 40 and 16 threads of a last
    wave), a mask over lanes 0..39 and its count, lane reads of lanes 5, 45 (known when translating)
    and 37 (from a register), mbcnt_folded and the unfolded lanemask_lt count, the first lane of
    an EXEC with upper bits only and a write under it, lane writes of lanes 9 and 41, a mask with
    lane 50 only, a compare that writes EXEC. Nothing is stored past the group's threads. Wave 0 of
    the first group is also compared with the same program as console code in the kernel form
    (runner::direct_kernel, split on this adapter).
  • With mbcnt_folded broken on purpose (half 1 not counting the low dword) the test fails at
    thread 32.

Regression run

  • main 9dfbe3ea (scripts/smoke.ps1 -Game <title>, 60 s):
xcl-smoke v1
commit: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b
gpu: NVIDIA GeForce RTX 4080
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1626 (PresentX 1626)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16011 MB
  • this PR's head commit (clean tree, committed):
xcl-smoke v1
commit: 91bc77189fad61c85d09436efd0706c88b645162
gpu: NVIDIA GeForce RTX 4080
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1681 (PresentX 1681)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 15551 MB
  • scripts/smoke.ps1 sets XCL_NETWORK, XCL_RUN_SECONDS and XCL_ACTIVITY before it starts xcl.exe, so the child process gets them (the run ended after 60 s with exit 0). The runs used -Xcl with a release build of each commit in its own target directory.

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).
  • A folded program lowered from console code: the instruction driver is step 3. Not covered
    either: memory and LDS, control flow, more than one thread group per dispatch, a lane read or
    write under a guard_override, the thread limits of a dispatch (compute_gate).
  • AMD and Intel GPUs. The hand-out takes a hardware wave of the 1-D group to be 32 consecutive
    threads (as the 1-D native form does); a driver that forms them otherwise is not handled.
  • Whether a wave64-capable adapter keeps [WaveSize(32)] waves full for this entry.

AI use

  • Claude Code: Claude Fable 5.2 wrote the code and the tests, Claude Opus 5.5 reviewed them independently, Claude Sonnet 5.5 rebased them onto main 9dfbe3ea, ran the suite and prepared this PR.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5567767885 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3530). Originally posted by [throny](https://github.com/throny) on 2026-11-30T14:59:51Z. --- Stacked on #3529; only the top commit belongs here. Part of #3011 (C57, step 2/2 of the design note). The lane primitives of the folded form (one hardware wave of 32 lanes carries a console wave of 64: hardware lane t is console lanes t and t + 32, the second in the VGPR bank of step 1). They work when `Lw::fold` is set; no program selects the form yet, so nothing a title runs changes. **What is in it** - `crates/xcl/src/gpu/dxil/lanes.rs`, a second `impl Lw` after the split primitives: - `folded_numthreads`, `setup_lanes_folded` (-> `FoldedThreads`): the hardware group is `[ceil(T / 64) * 32, 1, 1]`; hardware thread f is console threads `(f >> 5) * 64 + (f & 31)` and that + 32, console lanes `WaveGetLaneIndex()` and that + 32; thread id components of both halves; the launch EXEC, all ones or, for a partial last wave, two ballots of `thread < T`. Sets `fold`. No group barrier and no groupshared counter. - `ballot_folded`, `write_mask_folded`: `lo = WaveActiveBallot(cond of half 0).x`, `hi = WaveActiveBallot(cond of half 1).x`; both halves' conditions (each under its own EXEC bit) are made before the register pair is written, once. - `read_lane_folded`, `read_first_lane_folded`: `WaveReadLaneAt(v of the half, l & 31)`, the half from bit 5 of `l` (one read when `l` is known while translating, else both and a select). - `write_lane_folded`: the VGPR of the bank bit 5 of `l` names, where the lane is `l`. - `mbcnt_folded`: the count `v_mbcnt_lo` / `_hi` adds, for the half selected (half 1 counts the whole low dword). - `crates/xcl/src/gpu/dxil/lower.rs`: `Lw::each_half` (runs a closure for half 0, then half 1, and restores the half selected). No line of step 1 changed. - `THIRD_PARTY.md`: a row for another project's `fold.rs` (GPL-3.0-or-later), whose thread mapping, lane read / write and `v_mbcnt` recipes these follow; the note is above the `impl` in `lanes.rs`. Nothing was copied: theirs rewrites machine code, this builds DXIL values. - Test `gpu_folded_wave64_cross_half_operations` (`lanes.rs`, `fold_tests`). About 170 lines of code and 250 of test. **Tested** - NVIDIA GeForce RTX 4080 16 GB (driver 621.40), i9-12900K, Windows 11 build 26300, rustc 1.100.0 (0ef1bc386 2026-11-09), debug for the tests, release for the smoke runs. Nothing else was on the GPU. - Step's own tests: `cargo test -p xcl --lib -j 12 -- half_tests gpu::dxil folded --test-threads=4`: 313 passed, 1 failed (the `resinfo_d16` test below), 3 ignored; `gpu_folded_wave64_cross_half_operations` ran on the GPU (not skipped) - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: 2888 passed, 1 failed, 51 ignored - The 1 failure, `gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16` ("2D D16 resinfo clobbered v2/v3"), fails the same way on `origin/main` 9dfbe3ea (`cargo test -p xcl --lib -- gpu_direct_image_get_resinfo_d16`: 0 passed, 1 failed), so it is not from this PR. Not looked into further. - `SKIPPED` on this adapter (32-lane waves only): the wave64 variants of `gpu::recomp::lower` / `lower_dxil` tests (no wave64), `gpu::dxil::kernel::dispatch_chain_native_wave64_builds_whole`, two heap-window tests (no heap windows), `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` (driver cache cannot be disabled: Developer Mode) - About the test: there is no instruction driver before step 3, so the test builds a compute entry by hand from the primitives (and `set_half`, `act`, `write32`, `first_lane`, `lanemask_lt` of the existing lowering) and runs it with `runner::dispatch` in groups of `[128,1,1]`, `[104,1,1]`, `[80,1,1]` and `[8,8,2]` console threads (64 hardware threads each). Every console thread stores 19 words, each compared with the 64-lane result: its thread id and components, lane, launch EXEC (full, 40 and 16 threads of a last wave), a mask over lanes 0..39 and its count, lane reads of lanes 5, 45 (known when translating) and 37 (from a register), `mbcnt_folded` and the unfolded `lanemask_lt` count, the first lane of an EXEC with upper bits only and a write under it, lane writes of lanes 9 and 41, a mask with lane 50 only, a compare that writes EXEC. Nothing is stored past the group's threads. Wave 0 of the first group is also compared with the same program as console code in the kernel form (`runner::direct_kernel`, split on this adapter). - With `mbcnt_folded` broken on purpose (half 1 not counting the low dword) the test fails at thread 32. **Regression run** - main 9dfbe3ea (`scripts/smoke.ps1 -Game <title>`, 60 s): ``` xcl-smoke v1 commit: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b gpu: NVIDIA GeForce RTX 4080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1626 (PresentX 1626) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16011 MB ``` - this PR's head commit (clean tree, committed): ``` xcl-smoke v1 commit: 91bc77189fad61c85d09436efd0706c88b645162 gpu: NVIDIA GeForce RTX 4080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1681 (PresentX 1681) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 15551 MB ``` - `scripts/smoke.ps1` sets `XCL_NETWORK`, `XCL_RUN_SECONDS` and `XCL_ACTIVITY` before it starts `xcl.exe`, so the child process gets them (the run ended after 60 s with exit 0). The runs used `-Xcl` with a release build of each commit in its own target directory. **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). - A folded program lowered from console code: the instruction driver is step 3. Not covered either: memory and LDS, control flow, more than one thread group per dispatch, a lane read or write under a `guard_override`, the thread limits of a dispatch (`compute_gate`). - AMD and Intel GPUs. The hand-out takes a hardware wave of the 1-D group to be 32 consecutive threads (as the 1-D native form does); a driver that forms them otherwise is not handled. - Whether a wave64-capable adapter keeps `[WaveSize(32)]` waves full for this entry. **AI use** - Claude Code: Claude Fable 5.2 wrote the code and the tests, Claude Opus 5.5 reviewed them independently, Claude Sonnet 5.5 rebased them onto `main` 9dfbe3ea, ran the suite and prepared this PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
KDenKC commented 2026-11-30 17:03:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-30T17:03:49Z.


merge-check
base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b
head: 91bc77189fad61c85d09436efd0706c88b645162
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 (leaving out the same 3 uma_driver tests as on the base) -> 2880 passed, 6 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: the base's own 6 (gpu_direct_image_get_resinfo_d16, placed_title_textures_share_vram_and_preserve_pixels, the 3 stream_recheck_* tests, test_title_runs_and_game_folder_is_untouched), base 9dfbe3ea on the same machine: 2877 passed, 6 failed, 51 ignored. gpu_folded_wave64_cross_half_operations RAN on this wave32 Ampere card (DXC compiled, no SKIPPED line): 1 passed, 0 failed; `-- half_`: 17 passed, 0 failed.
review: none blocking; the whole diff read (stacked on #3529: its commit cc606cc1 plus 91bc7718; THIRD_PARTY.md, lanes.rs, lower.rs). No production lowering calls the folded functions (their only callers are each other and fold_tests), so emitted code does not change, as the PR says. Checked by hand: mbcnt_folded counts the low dword's bits below the lane in half 0 and nothing of the high one, and in half 1 the whole low dword plus the high dword's bits below lane - 32 (what v_mbcnt_lo / v_mbcnt_hi give console lanes 0..63); read_lane_folded takes bit 5 for the half and & 31 for the hardware lane (a constant lane reads only its half); write_lane_folded masks with & 63 and compares with each half's own lane; setup_lanes_folded's EXEC for a partial last wave is one ballot per half of tid < total. Provenance: the ported project, its licence and a THIRD_PARTY.md entry are in place (lanes.rs). A note for the PR that turns this on, not for this one: the thread hand-out (wave = flat >> 5, hardware lane = WaveGetLaneIndex()) and ballot_folded's [0] assume 32-lane host waves; whoever selects the folded form should require them (a wave64 AMD host would break both).
performance: none expected: nothing calls the new code outside the tests. 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:7285660456 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3530#issuecomment-7285660456). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-30T17:03:49Z. --- ```text merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 91bc77189fad61c85d09436efd0706c88b645162 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 (leaving out the same 3 uma_driver tests as on the base) -> 2880 passed, 6 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: the base's own 6 (gpu_direct_image_get_resinfo_d16, placed_title_textures_share_vram_and_preserve_pixels, the 3 stream_recheck_* tests, test_title_runs_and_game_folder_is_untouched), base 9dfbe3ea on the same machine: 2877 passed, 6 failed, 51 ignored. gpu_folded_wave64_cross_half_operations RAN on this wave32 Ampere card (DXC compiled, no SKIPPED line): 1 passed, 0 failed; `-- half_`: 17 passed, 0 failed. review: none blocking; the whole diff read (stacked on #3529: its commit cc606cc1 plus 91bc7718; THIRD_PARTY.md, lanes.rs, lower.rs). No production lowering calls the folded functions (their only callers are each other and fold_tests), so emitted code does not change, as the PR says. Checked by hand: mbcnt_folded counts the low dword's bits below the lane in half 0 and nothing of the high one, and in half 1 the whole low dword plus the high dword's bits below lane - 32 (what v_mbcnt_lo / v_mbcnt_hi give console lanes 0..63); read_lane_folded takes bit 5 for the half and & 31 for the hardware lane (a constant lane reads only its half); write_lane_folded masks with & 63 and compares with each half's own lane; setup_lanes_folded's EXEC for a partial last wave is one ballot per half of tid < total. Provenance: the ported project, its licence and a THIRD_PARTY.md entry are in place (lanes.rs). A note for the PR that turns this on, not for this one: the thread hand-out (wave = flat >> 5, hardware lane = WaveGetLaneIndex()) and ballot_folded's [0] assume 32-lane host waves; whoever selects the folded form should require them (a wave64 AMD host would break both). performance: none expected: nothing calls the new code outside the tests. 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.
Foniass commented 2026-12-01 03:16:36 +00:00 (Migrated from github.com)

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


merge-check
base: d0832e614f
head: 91bc77189f
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2893 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 #3530's own commit (against #3529's head cc606cc1). Nothing a title runs changes: the new functions are only called from fold_tests. RDNA2 semantics check out (v_mbcnt lo/hi, v_readlane / v_writelane lane select on bits 5:0, v_writelane ignoring EXEC, v_readfirstlane of an empty EXEC reading lane 0, the EXEC of a partial last wave). The test's expected values are computed on the CPU, it checks nothing is stored past the group, and it uses skip_test. Findings, all low: (1) THIRD_PARTY.md says ported logic carries "a note in their header" (GPL-3.0 §5a), but the VIctory-NVIDIA note sits above the second impl Lw (lanes.rs ~1070), not in the file's header doc. (2) write_mask_folded (~1138) is simpler than write_mask: no per-lane bit record, no batched-ballot path, and with a VGPR destination it writes only the selected half. That is fine while nothing calls it that way, but step 3 will. (3) The thread hand-out takes the wave from flat >> 5 and the lane from WaveGetLaneIndex, which assumes hardware waves of 32 consecutive threads (the same assumption as the existing 1-D native form; the description says so). No smoke run: no GPU path a title takes changes.
performance: none expected (nothing a title runs calls the new code); not measured
verdict: safe to merge (after #3529, which it is stacked on; this run tested both 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:7299533326 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3530#issuecomment-7299533326). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:16:36Z. --- merge-check base: d0832e614fa7d6ae027bb4feb27ccb9121f54a8f head: 91bc77189fad61c85d09436efd0706c88b645162 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2893 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 #3530's own commit (against #3529's head cc606cc1). Nothing a title runs changes: the new functions are only called from fold_tests. RDNA2 semantics check out (v_mbcnt lo/hi, v_readlane / v_writelane lane select on bits 5:0, v_writelane ignoring EXEC, v_readfirstlane of an empty EXEC reading lane 0, the EXEC of a partial last wave). The test's expected values are computed on the CPU, it checks nothing is stored past the group, and it uses skip_test. Findings, all low: (1) THIRD_PARTY.md says ported logic carries "a note in their header" (GPL-3.0 §5a), but the VIctory-NVIDIA note sits above the second `impl Lw` (lanes.rs ~1070), not in the file's header doc. (2) `write_mask_folded` (~1138) is simpler than `write_mask`: no per-lane bit record, no batched-ballot path, and with a VGPR destination it writes only the selected half. That is fine while nothing calls it that way, but step 3 will. (3) The thread hand-out takes the wave from `flat >> 5` and the lane from `WaveGetLaneIndex`, which assumes hardware waves of 32 consecutive threads (the same assumption as the existing 1-D native form; the description says so). No smoke run: no GPU path a title takes changes. performance: none expected (nothing a title runs calls the new code); not measured verdict: safe to merge (after #3529, which it is stacked on; this run tested both 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 06:32:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-12-01T06:32:22Z.


merge-check claim
head: 91bc77189f

<!-- greyfinch-sync:ivall/xcl:comment:7302989066 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3530#issuecomment-7302989066). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-12-01T06:32:22Z. --- merge-check claim head: 91bc77189fad61c85d09436efd0706c88b645162
throny commented 2026-12-01 06:46:59 +00:00 (Migrated from github.com)

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


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:7303266893 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3530#issuecomment-7303266893). Originally posted by [throny](https://github.com/throny) on 2026-12-01T06:46:59Z. --- 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).
brainhay5 commented 2026-12-01 11:48:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-12-01T11:48:12Z.


merge-check claim withdrawn
Our automated merge-check loop claimed this PR and then stopped before posting a check — two loops were running at once and both are now shut down. No check from us is coming, so this claim is void and the head is free for someone else to take.

AI use: an agent posted this withdrawal.

<!-- greyfinch-sync:ivall/xcl:comment:7310164087 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3530#issuecomment-7310164087). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-12-01T11:48:12Z. --- merge-check claim withdrawn Our automated merge-check loop claimed this PR and then stopped before posting a check — two loops were running at once and both are now shut down. No check from us is coming, so this claim is void and the head is free for someone else to take. *AI use: an agent posted this withdrawal.*

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