Shaders: xcl shaders --time-forms times the compute forms one at a time, driver cache off #1830

Open
github-bot wants to merge 5 commits from github-bot/gh-1830 into main AGit
Owner

@⁠Raghav314 on GitHub · 2026-11-24 21:32 UTC · original
Raghav314:shaders/time-forms-main → main · +273 −4 · 3 files · 5 commits · open

For #2088's cold-compile measurements (it started on #1269, now closed). The --time-forms harness from #1745's thread, as its own PR against main (asked for by @⁠gefydev in the merge note on #1269). It measures what the cold driver build of each compute form costs on the retail pack, so changes to the direct backend can be compared on real programs. The numbers posted on #1737 and #1748 were made with it. Overlaps partly with #1802 (--measure-pso, one record, HLSL or direct); this one times all four forms side by side over a sample of the pack, with the driver's cache off.

What is in it

  • xcl shaders <pack> --time-forms: for each compute program, the per-lane form, #1426's per-instruction form, and the HLSL path with W windows and with heap windows, each made into a compute pipeline one at a time (no XCL cache, no concurrency). One CSV row per program, by record index only: translation ms, DXC ms (HLSL), DXIL bytes, CreateComputePipelineState ms per form.
  • The driver's shader caches are turned off for the process with ID3D12Device9::ShaderCacheControl, all three implicit kinds (driver-managed, the D3D runtime's cache for the driver, conversions; needs Windows developer mode; refused with a message otherwise, --warm keeps them). With the driver-managed kind alone, a second process got a 1.4 MB program back in 10 ms against 19.7 s cold (dc1b320).
  • --all N: a size-spread sample of N compute programs plus the 10 largest, instead of only those the per-lane form takes (its columns stay empty where it refuses one).
  • --max-hlsl MB / --max-dxil KB: no DXC / no driver build above these sizes, sizes still recorded (the largest programs take minutes or tens of GB).
  • --heap: the two direct forms with heap windows. --no-hlsl: skip the HLSL columns. --dump DIR: each form's DXIL as DIR/<idx>_<pl|pi|hl|hh>.dxil. --windows, --split, --timeout, --limit, --threads, --out.
  • Translations and pipeline builds run on threads of their own (256 MB stack) under --timeout; a cell that runs out of time reads timeout and the sweep goes on. Rows carry the record hash (shader::fnv64 of the record, as the runtime's log lines name a record) next to the index. (Both from @⁠Royalflamejlh's review, b303630; 310344f notes in the doc comment that timeout can also be a build whose thread died.)
  • Its options go through xcl shaders' option parser (#2266), so unknown and mistyped ones are refused as for the other modes. --timeout defaults to 120 s here and stays 10 s for --direct (6423b67).
  • recomp::pso::console_translation_compute: the HLSL path's translation without DXC, so translation and DXC are timed apart.

Nothing in the runtime path changes; only xcl shaders and one pub wrapper.

Tested

  • RTX 4090 24 GB, driver 617.14, 16 threads, Windows 11, Rust 1.100.0 MSVC, DXC 1.8.2502.11; release for the runs, debug for the suite.
  • .\scripts\test.ps1 (cargo test --workspace): 957 passed, 0 failed, 42 ignored (SKIPPED GPU tests: 22, wave64 ones on a 32-lane adapter, the per-lane f16 refusals and no heap windows).
  • --time-forms --all 4 --heap --dump DIR --max-hlsl 1 --max-dxil 300 on a retail pack: 14 programs, every column filled where under the caps, DXIL files written. Earlier versions of the same code made the tables on #1737 and #1748 (40 programs, all four forms; the five largest with --heap).
  • b303630: .\scripts\test.ps1 957 passed, 0 failed, 42 ignored. --time-forms --all 4 --heap --timeout 2 --max-hlsl 2 --max-dxil 2048: 14 programs, the 9 whose per-instruction build ran past 2 s read timeout and the sweep went on to the end (the two after them built in 716 and 74 ms); the hash column matches the runtime's record hashes (e.g. 95cc13288a27a96e).
  • Rebased onto main 2898511 (6423b67): cargo test --release -p xcl -- --test-threads=4: 1363 passed, 0 failed, 46 ignored (lib: 1284 passed, 26 ignored; the GPU tests skipped on a 32-lane adapter print SKIPPED); shaders_e2e refuses the new options' missing and mistyped values. --time-forms --limit 3 --split 1 --windows 4 --heap on a retail pack: 3 programs, both direct forms timed.
  • dc1b320: the same three programs built in two processes in a row, each cold: 0.72 / 20.8 / 24.4 s, then 0.71 / 20.1 / 30.6 s (the old setting gave 1.1 / 10.1 / 10.7 ms in the second process).

Regression run

Both with XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PRESS_A_AT=20.

main:

xcl-smoke v1
commit: 266b845e4b2a193ea7ce1b86698ead08dc4a10c0
gpu: NVIDIA GeForce RTX 4090
title: 6ca5cab7
seconds: 180
exit: 0x0
frames shown: 1513 (PresentX 1513)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 29106 MB

PR:

xcl-smoke v1
commit: 6423b67d9d42c87096f5d1e5d67304ebd306f7e5
gpu: NVIDIA GeForce RTX 4090
title: 6ca5cab7
seconds: 180
exit: 0x0
frames shown: 1451 (PresentX 1451)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 28707 MB

Not tested

  • AMD and Intel (only ShaderCacheControl and the timings are adapter-specific), vkd3d-proton.
  • Vertex / pixel programs: compute only.

AI use

  • Claude Code (Claude Opus 5.5) wrote the harness, ran the suite, the smoke pair and the measurements, and wrote this description.
**@⁠Raghav314** on GitHub · 2026-11-24 21:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830) `Raghav314:shaders/time-forms-main` → `main` · +273 −4 · 3 files · 5 commits · open For #2088's cold-compile measurements (it started on #1269, now closed). The `--time-forms` harness from #1745's thread, as its own PR against `main` (asked for by @⁠gefydev in the merge note on #1269). It measures what the cold driver build of each compute form costs on the retail pack, so changes to the direct backend can be compared on real programs. The numbers posted on #1737 and #1748 were made with it. Overlaps partly with #1802 (`--measure-pso`, one record, HLSL or direct); this one times all four forms side by side over a sample of the pack, with the driver's cache off. **What is in it** - `xcl shaders <pack> --time-forms`: for each compute program, the per-lane form, #1426's per-instruction form, and the HLSL path with W windows and with heap windows, each made into a compute pipeline one at a time (no XCL cache, no concurrency). One CSV row per program, by record index only: translation ms, DXC ms (HLSL), DXIL bytes, `CreateComputePipelineState` ms per form. - The driver's shader caches are turned off for the process with `ID3D12Device9::ShaderCacheControl`, all three implicit kinds (driver-managed, the D3D runtime's cache for the driver, conversions; needs Windows developer mode; refused with a message otherwise, `--warm` keeps them). With the driver-managed kind alone, a second process got a 1.4 MB program back in 10 ms against 19.7 s cold (`dc1b320`). - `--all N`: a size-spread sample of N compute programs plus the 10 largest, instead of only those the per-lane form takes (its columns stay empty where it refuses one). - `--max-hlsl MB` / `--max-dxil KB`: no DXC / no driver build above these sizes, sizes still recorded (the largest programs take minutes or tens of GB). - `--heap`: the two direct forms with heap windows. `--no-hlsl`: skip the HLSL columns. `--dump DIR`: each form's DXIL as `DIR/<idx>_<pl|pi|hl|hh>.dxil`. `--windows`, `--split`, `--timeout`, `--limit`, `--threads`, `--out`. - Translations and pipeline builds run on threads of their own (256 MB stack) under `--timeout`; a cell that runs out of time reads `timeout` and the sweep goes on. Rows carry the record hash (`shader::fnv64` of the record, as the runtime's log lines name a record) next to the index. (Both from @⁠Royalflamejlh's review, `b303630`; `310344f` notes in the doc comment that `timeout` can also be a build whose thread died.) - Its options go through `xcl shaders`' option parser (#2266), so unknown and mistyped ones are refused as for the other modes. `--timeout` defaults to 120 s here and stays 10 s for `--direct` (`6423b67`). - `recomp::pso::console_translation_compute`: the HLSL path's translation without DXC, so translation and DXC are timed apart. Nothing in the runtime path changes; only `xcl shaders` and one `pub` wrapper. **Tested** - RTX 4090 24 GB, driver 617.14, 16 threads, Windows 11, Rust 1.100.0 MSVC, DXC 1.8.2502.11; release for the runs, debug for the suite. - `.\scripts\test.ps1` (`cargo test --workspace`): 957 passed, 0 failed, 42 ignored (SKIPPED GPU tests: 22, wave64 ones on a 32-lane adapter, the per-lane f16 refusals and `no heap windows`). - `--time-forms --all 4 --heap --dump DIR --max-hlsl 1 --max-dxil 300` on a retail pack: 14 programs, every column filled where under the caps, DXIL files written. Earlier versions of the same code made the tables on #1737 and #1748 (40 programs, all four forms; the five largest with `--heap`). - `b303630`: `.\scripts\test.ps1` 957 passed, 0 failed, 42 ignored. `--time-forms --all 4 --heap --timeout 2 --max-hlsl 2 --max-dxil 2048`: 14 programs, the 9 whose per-instruction build ran past 2 s read `timeout` and the sweep went on to the end (the two after them built in 716 and 74 ms); the hash column matches the runtime's record hashes (e.g. `95cc13288a27a96e`). - Rebased onto `main` `2898511` (`6423b67`): `cargo test --release -p xcl -- --test-threads=4`: 1363 passed, 0 failed, 46 ignored (lib: 1284 passed, 26 ignored; the GPU tests skipped on a 32-lane adapter print `SKIPPED`); `shaders_e2e` refuses the new options' missing and mistyped values. `--time-forms --limit 3 --split 1 --windows 4 --heap` on a retail pack: 3 programs, both direct forms timed. - `dc1b320`: the same three programs built in two processes in a row, each cold: 0.72 / 20.8 / 24.4 s, then 0.71 / 20.1 / 30.6 s (the old setting gave 1.1 / 10.1 / 10.7 ms in the second process). **Regression run** Both with `XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PRESS_A_AT=20`. main: ``` xcl-smoke v1 commit: 266b845e4b2a193ea7ce1b86698ead08dc4a10c0 gpu: NVIDIA GeForce RTX 4090 title: 6ca5cab7 seconds: 180 exit: 0x0 frames shown: 1513 (PresentX 1513) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 29106 MB ``` PR: ``` xcl-smoke v1 commit: 6423b67d9d42c87096f5d1e5d67304ebd306f7e5 gpu: NVIDIA GeForce RTX 4090 title: 6ca5cab7 seconds: 180 exit: 0x0 frames shown: 1451 (PresentX 1451) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 28707 MB ``` **Not tested** - AMD and Intel (only `ShaderCacheControl` and the timings are adapter-specific), vkd3d-proton. - Vertex / pixel programs: compute only. **AI use** - Claude Code (Claude Opus 5.5) wrote the harness, ran the suite, the smoke pair and the measurements, and wrote this description.
For each compute program: the per-lane form, #1426's per-instruction form and the HLSL
path with W and with heap windows, each made into a compute pipeline one at a time with
the driver's own shader cache off for the process (ShaderCacheControl, developer mode;
--warm keeps it). One CSV row per program: translation, DXC, DXIL bytes, driver ms.
--all N takes a size-spread sample plus the 10 largest; --max-hlsl / --max-dxil cap the
giants (sizes still recorded); --heap gives the direct forms heap windows; --no-hlsl
skips the HLSL columns; --dump DIR writes each form's DXIL.
From the Linux review on #1830: a CreateComputePipelineState that never returned
(the driver's compiler out of the tool thread's 2 MB stack under Wine) ended the
sweep without a row. Builds and translations now run on threads with a 256 MB
stack under --timeout; a cell that runs out of time reads timeout and the sweep
goes on. Rows also carry the record hash (shader::fnv64, as runtime logs name a
record). The message when ShaderCacheControl is refused says vkd3d-proton does not
implement it.
From the Wine review on #1830: dxil-spirv's endless recursion overflows even a
256 MB stack, so the build's thread is gone and its cell reads timeout.
ShaderCacheControl on IMPLICIT_DRIVER_MANAGED alone left the D3D runtime's own
caches on: a second process got a 1.4 MB program back in 10 ms (19.7 s cold).
With IMPLICIT_D3D_CACHE_FOR_DRIVER and IMPLICIT_D3D_CONVERSIONS off as well, two
processes in a row build it cold (20.8 s and 20.1 s).
`xcl shaders` now rejects unknown options, so --time-forms and its options
(--heap, --no-hlsl, --warm, --all N, --max-hlsl MB, --max-dxil KB, --out FILE)
are ShadersOptions fields, and time_forms reads them from there instead of
scanning the arguments. --timeout becomes optional so each mode keeps its own
default (--direct 10 s, --time-forms 120 s). shaders_e2e checks the new
options' missing and mistyped values.

Assisted-by: Claude Code (Claude Opus 5.5)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:06:39 +00:00
Author
Owner

@⁠Royalflamejlh on GitHub · 2026-11-24 22:44 UTC · original

Linux (Wine + vkd3d-proton) + NVIDIA test of c6c9fb2 on main c4d37be + #684: --time-forms runs here with --warm and gives cold numbers all the same, and one program's pipeline call never returned, which ended the pass without a row for it.

Setup: Fedora 44 (kernel 7.2.9), Wine 11.21 Staging, vkd3d-proton v3.1-90-g30b0eb9b (its dxil-spirv is at 34f0ff8) with the relaxed-vtable patch from #175 and a local dxil-spirv patch. RTX 4070 12 GB (driver 615.71.09, 32-lane waves), Ryzen 9 9950X3D, 62 GB RAM. Release, cross-compiled to x86_64-pc-windows-gnu (rustc 1.98.0), DXC 1.9.2609.5. A retail pack, 2,689 compute programs. Every pass: NVIDIA's disk cache off (__GL_SHADER_DISK_CACHE=0), empty VKD3D_SHADER_CACHE_PATH and XCL_DXIL_CACHE folders, under a 16 GB memory cap.

Tested

  • Without --warm (1 pass): time-forms: cannot turn the driver's shader cache off (Not implemented. (0x80004001)); needs Windows developer mode, or pass --warm, exit 1. In vkd3d-proton ShaderCacheControl is a stub that returns E_NOTIMPL (libs/vkd3d/device.c:8467), so developer mode is not what is missing on Linux.
  • --warm --all 12 --max-hlsl 4 --max-dxil 400 --timeout 60 (1 pass): 22 programs in 82 s. The builds are cold with the caches off as above: the same program took 1.7 to 2.0 s in each of four passes (idx 23704 per-instruction: 1,753, 1,777, 1,718 and, in the pass made beside another bench's job, 2,018 ms), not the 1 to 2 ms of a cached build. Of the nine programs with a per-instruction pipeline and both HLSL pipelines, the per-instruction form built faster than HLSL with 4 windows in 9 of 9 and faster than HLSL with heap windows in 8 of 9 (idx 24649: 130 against 97 ms).
idx per-instruction: DXIL, pipeline HLSL, 4 windows: DXIL, DXC, pipeline
23321 75,900 B, 372 ms 119,152 B, 657 ms, 955 ms
23546 112,208 B, 559 ms 147,892 B, 765 ms, 859 ms
22514 133,712 B, 648 ms 186,472 B, 1,174 ms, 1,409 ms
23704 262,064 B, 1,753 ms 304,676 B, 3,667 ms, 3,165 ms
  • --warm --all 60 --no-hlsl --max-dxil 520 --timeout 60 (3 passes): 55 of 70 programs in 34 to 43 s, 29 of them built, then nothing more. With --dump the last file written is 24239_pi.dxil (301,844 B). CreateComputePipelineState for it had not returned after 255 s, 75 s and 42 s when I ended the tool. In the first pass 323,760 B (idx 23238) took 2.1 s and 451,956 B (idx 22960) 4.2 s.
  • What happened there, from the third pass, made with Wine's error channel on: err:virtual:virtual_setup_exception stack overflow on the tool's own thread (its 2 MB stack) right after row 55, and the process then used no processor time (0 ticks in 10 s). That program is record 8fb46ffc29d0870a: the dumped file is the same bytes as that record's direct DXIL at c4d37be, one of the 77 on which this vkd3d-proton's dxil-spirv segfaults when run natively, here in the endless recursion in CFGNode::find_common_dominator (our comment on #1805). The Wine line's address is in xcl.exe (core::fmt::write), so it shows the thread out of stack, not what used it up; that it is that recursion is my reading. Either way the thread that made the call is gone and nothing is being built.

Read

  • shaders.rs:2141 (make, the call at :2149): the pipeline is created on the tool's own thread with no limit, and --timeout only covers the translations that go through run_timed (:2061). A call that does not come back, as above, ends the sweep without a row for that program or for the ones after it. Could make run on a thread of its own under the same timeout and leave the cell marked?
  • The rows carry the record index only, as the description says. #1524's log lines name a pipeline by its record hash (driver compile start … record <hash>). A hash column (shader::fnv64 of the blob, as record_by_hash at :927 computes it) would let a row be matched with what a title run logged; I had to compare DXIL files to find which record idx 24239 is.

Not tested: the 14 programs after idx 24239; --timeout itself; a pass without --all; --heap; the per-lane columns beyond the two programs that form took in these samples (idx 22302 and 22790); the suite; Windows; the RTX 4060 Ti.

AI use: Claude Code (Claude Fable 5.2) read the diff, built the tree, ran the passes and wrote this report.

Posted without review by a person: the account owner was away and reads replies later.

**@⁠Royalflamejlh** on GitHub · 2026-11-24 22:44 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7146598756) Linux (Wine + vkd3d-proton) + NVIDIA test of `c6c9fb2` on `main` `c4d37be` + #684: `--time-forms` runs here with `--warm` and gives cold numbers all the same, and one program's pipeline call never returned, which ended the pass without a row for it. **Setup:** Fedora 44 (kernel 7.2.9), Wine 11.21 Staging, vkd3d-proton v3.1-90-g30b0eb9b (its dxil-spirv is at `34f0ff8`) with the relaxed-vtable patch from #175 and a local dxil-spirv patch. RTX 4070 12 GB (driver 615.71.09, 32-lane waves), Ryzen 9 9950X3D, 62 GB RAM. Release, cross-compiled to `x86_64-pc-windows-gnu` (rustc 1.98.0), DXC 1.9.2609.5. A retail pack, 2,689 compute programs. Every pass: NVIDIA's disk cache off (`__GL_SHADER_DISK_CACHE=0`), empty `VKD3D_SHADER_CACHE_PATH` and `XCL_DXIL_CACHE` folders, under a 16 GB memory cap. **Tested** - Without `--warm` (1 pass): `time-forms: cannot turn the driver's shader cache off (Not implemented. (0x80004001)); needs Windows developer mode, or pass --warm`, exit 1. In vkd3d-proton `ShaderCacheControl` is a stub that returns `E_NOTIMPL` (`libs/vkd3d/device.c:8467`), so developer mode is not what is missing on Linux. - `--warm --all 12 --max-hlsl 4 --max-dxil 400 --timeout 60` (1 pass): 22 programs in 82 s. The builds are cold with the caches off as above: the same program took 1.7 to 2.0 s in each of four passes (idx 23704 per-instruction: 1,753, 1,777, 1,718 and, in the pass made beside another bench's job, 2,018 ms), not the 1 to 2 ms of a cached build. Of the nine programs with a per-instruction pipeline and both HLSL pipelines, the per-instruction form built faster than HLSL with 4 windows in 9 of 9 and faster than HLSL with heap windows in 8 of 9 (idx 24649: 130 against 97 ms). | idx | per-instruction: DXIL, pipeline | HLSL, 4 windows: DXIL, DXC, pipeline | |---|---|---| | 23321 | 75,900 B, 372 ms | 119,152 B, 657 ms, 955 ms | | 23546 | 112,208 B, 559 ms | 147,892 B, 765 ms, 859 ms | | 22514 | 133,712 B, 648 ms | 186,472 B, 1,174 ms, 1,409 ms | | 23704 | 262,064 B, 1,753 ms | 304,676 B, 3,667 ms, 3,165 ms | - `--warm --all 60 --no-hlsl --max-dxil 520 --timeout 60` (3 passes): 55 of 70 programs in 34 to 43 s, 29 of them built, then nothing more. With `--dump` the last file written is `24239_pi.dxil` (301,844 B). `CreateComputePipelineState` for it had not returned after 255 s, 75 s and 42 s when I ended the tool. In the first pass 323,760 B (idx 23238) took 2.1 s and 451,956 B (idx 22960) 4.2 s. - What happened there, from the third pass, made with Wine's error channel on: `err:virtual:virtual_setup_exception stack overflow` on the tool's own thread (its 2 MB stack) right after row 55, and the process then used no processor time (0 ticks in 10 s). That program is record `8fb46ffc29d0870a`: the dumped file is the same bytes as that record's direct DXIL at `c4d37be`, one of the 77 on which this vkd3d-proton's dxil-spirv segfaults when run natively, here in the endless recursion in `CFGNode::find_common_dominator` (our comment on #1805). The Wine line's address is in `xcl.exe` (`core::fmt::write`), so it shows the thread out of stack, not what used it up; that it is that recursion is my reading. Either way the thread that made the call is gone and nothing is being built. **Read** - `shaders.rs:2141` (`make`, the call at `:2149`): the pipeline is created on the tool's own thread with no limit, and `--timeout` only covers the translations that go through `run_timed` (`:2061`). A call that does not come back, as above, ends the sweep without a row for that program or for the ones after it. Could `make` run on a thread of its own under the same timeout and leave the cell marked? - The rows carry the record index only, as the description says. #1524's log lines name a pipeline by its record hash (`driver compile start … record <hash>`). A hash column (`shader::fnv64` of the blob, as `record_by_hash` at `:927` computes it) would let a row be matched with what a title run logged; I had to compare DXIL files to find which record idx 24239 is. **Not tested:** the 14 programs after idx 24239; `--timeout` itself; a pass without `--all`; `--heap`; the per-lane columns beyond the two programs that form took in these samples (idx 22302 and 22790); the suite; Windows; the RTX 4060 Ti. **AI use:** Claude Code (Claude Fable 5.2) read the diff, built the tree, ran the passes and wrote this report. Posted without review by a person: the account owner was away and reads replies later.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 22:39 UTC · original · edited 2026-11-24 22:56 UTC

Full-suite run, since this PR has no test report yet. Tested exact head c6c9fb2 (on its base 266b845).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu: 952 passed, 0 failed, 42 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • No new #[test] functions in the diff.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 957 passed, 0 failed, 42 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • On NVIDIA, --skip leaves out five tests where this PR's base has them. They fail on main 689f2db too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. These are heap_window_out_of_memory_falls_back_to_the_switch_form (#1651) and the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests (follow-up on #1651). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 22:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7146495739) · edited 2026-11-24 22:56 UTC Full-suite run, since this PR has no test report yet. Tested exact head `c6c9fb2` (on its base `266b845`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu`: **952 passed, 0 failed, 42 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - No new `#[test]` functions in the diff. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **957 passed, 0 failed, 42 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - On NVIDIA, `--skip` leaves out five tests where this PR's base has them. They fail on main `689f2db` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. These are `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651) and the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests ([follow-up on #1651](https://git.gtahub.st/github/xcl-dev--xcl/issues/1651)). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠Raghav314 on GitHub · 2026-11-24 23:16 UTC · original

@⁠Royalflamejlh thank you for the Linux run and the read; both points are in b303630, and the description is updated.

  • A build that does not return: pipeline builds now run on a thread of their own under --timeout (translations already did), both with a 256 MB stack. A cell that runs out of time reads timeout, and the sweep goes on with the next form and program; the stuck build keeps its thread until the process ends. On this machine, --all 4 --heap --timeout 2 gave timeout for the 9 per-instruction builds over 2 s and finished all 14 rows, the two after them building in 716 and 74 ms. Under Wine the bigger stack may also keep that thread from overflowing at all; I could not check that here.
  • Record hash: rows now have a hash column after idx, shader::fnv64 of the record, so a row matches the record <hash> of a title run's log (e.g. 95cc13288a27a96e).
  • ShaderCacheControl under vkd3d-proton: the message no longer points only at developer mode; it says vkd3d-proton does not implement it and that --warm with the caches turned off by hand gives cold builds, as you did.

@⁠futurepro62 thank you for the suite on both adapters (952 / 0 / 42 and 957 / 0 / 42 at c6c9fb2).

On b303630: suite 957 passed, 0 failed, 42 ignored; smoke 1 499 frames against 1 513 for main 266b845, no removal, no crash (blocks in the description).

AI use: Claude Code (Claude Opus 5.5) made the change, ran the tests and the smoke run, and wrote this reply for @⁠Raghav314.

**@⁠Raghav314** on GitHub · 2026-11-24 23:16 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7147208450) @⁠Royalflamejlh thank you for the Linux run and the read; both points are in `b303630`, and the description is updated. - **A build that does not return:** pipeline builds now run on a thread of their own under `--timeout` (translations already did), both with a 256 MB stack. A cell that runs out of time reads `timeout`, and the sweep goes on with the next form and program; the stuck build keeps its thread until the process ends. On this machine, `--all 4 --heap --timeout 2` gave `timeout` for the 9 per-instruction builds over 2 s and finished all 14 rows, the two after them building in 716 and 74 ms. Under Wine the bigger stack may also keep that thread from overflowing at all; I could not check that here. - **Record hash:** rows now have a `hash` column after `idx`, `shader::fnv64` of the record, so a row matches the `record <hash>` of a title run's log (e.g. `95cc13288a27a96e`). - **`ShaderCacheControl` under vkd3d-proton:** the message no longer points only at developer mode; it says vkd3d-proton does not implement it and that `--warm` with the caches turned off by hand gives cold builds, as you did. @⁠futurepro62 thank you for the suite on both adapters (952 / 0 / 42 and 957 / 0 / 42 at `c6c9fb2`). On `b303630`: suite 957 passed, 0 failed, 42 ignored; smoke 1 499 frames against 1 513 for `main` `266b845`, no removal, no crash (blocks in the description). AI use: Claude Code (Claude Opus 5.5) made the change, ran the tests and the smoke run, and wrote this reply for @⁠Raghav314.
Author
Owner

@⁠Royalflamejlh on GitHub · 2026-11-24 23:36 UTC · original

@⁠Raghav314 b303630 does it here: the same pass under Wine now finishes all 70 rows in 75 s, and the cell of the program that stopped it reads timeout. The 256 MB stack does not keep that thread from overflowing, though.

Setup: as in my comment above, b303630 merged onto main c4d37be + #684; 1 pass of --time-forms --warm --all 60 --no-hlsl --max-dxil 520 --timeout 30, Wine's error channel on.

  • idx 24239 now has its hash, 8fb46ffc29d0870a, and timeout in the per-instruction pipeline cell. The 14 programs after it have rows; 43 per-instruction pipelines were built in all.
  • Wine logged one virtual_setup_exception stack overflow on a thread with a 256 MB stack (0x37af0000 to 0x47af0000), so the build thread of that program still overflowed: the recursion in this vkd3d-proton's dxil-spirv has no end (#1805), and a bigger stack only takes longer to fill. The cell therefore says timeout for a build that is not running any more. That is a fair reading for a sweep; a word in the doc comment (shaders.rs:2011, "the stuck build keeps its thread") that timeout can also be a thread that died would save the next reader the search.

Not tested: the new message without --warm; --heap; a pass with the HLSL columns on this head; Windows.

AI use: Claude Code (Claude Fable 5.2) built the new head, ran the pass and wrote this reply.

Posted without review by a person: the account owner was away and reads replies later.

**@⁠Royalflamejlh** on GitHub · 2026-11-24 23:36 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7147592428) @⁠Raghav314 `b303630` does it here: the same pass under Wine now finishes all 70 rows in 75 s, and the cell of the program that stopped it reads `timeout`. The 256 MB stack does not keep that thread from overflowing, though. **Setup:** as in my comment above, `b303630` merged onto `main` `c4d37be` + #684; 1 pass of `--time-forms --warm --all 60 --no-hlsl --max-dxil 520 --timeout 30`, Wine's error channel on. - idx 24239 now has its hash, `8fb46ffc29d0870a`, and `timeout` in the per-instruction pipeline cell. The 14 programs after it have rows; 43 per-instruction pipelines were built in all. - Wine logged one `virtual_setup_exception stack overflow` on a thread with a 256 MB stack (`0x37af0000` to `0x47af0000`), so the build thread of that program still overflowed: the recursion in this vkd3d-proton's dxil-spirv has no end (#1805), and a bigger stack only takes longer to fill. The cell therefore says `timeout` for a build that is not running any more. That is a fair reading for a sweep; a word in the doc comment (`shaders.rs:2011`, "the stuck build keeps its thread") that `timeout` can also be a thread that died would save the next reader the search. **Not tested:** the new message without `--warm`; `--heap`; a pass with the HLSL columns on this head; Windows. **AI use:** Claude Code (Claude Fable 5.2) built the new head, ran the pass and wrote this reply. Posted without review by a person: the account owner was away and reads replies later.
Author
Owner

@⁠Raghav314 on GitHub · 2026-11-24 23:45 UTC · original

@⁠Royalflamejlh thank you for checking it under Wine. The doc comment now says it: 310344f reads that a timeout cell is a build still running or one whose thread died without unwinding, with dxil-spirv's recursion under Wine (#1805) as the case. Doc comment only; smoke on 310344f: 1 503 frames, no removal, no crash (block in the description).

AI use: Claude Code (Claude Opus 5.5) made the change, ran the smoke run and wrote this reply for @⁠Raghav314.

**@⁠Raghav314** on GitHub · 2026-11-24 23:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7147761339) @⁠Royalflamejlh thank you for checking it under Wine. The doc comment now says it: `310344f` reads that a `timeout` cell is a build still running or one whose thread died without unwinding, with dxil-spirv's recursion under Wine (#1805) as the case. Doc comment only; smoke on `310344f`: 1 503 frames, no removal, no crash (block in the description). AI use: Claude Code (Claude Opus 5.5) made the change, ran the smoke run and wrote this reply for @⁠Raghav314.
Author
Owner

@⁠Raghav314 on GitHub · 2026-11-25 00:32 UTC · original

A fix to the timings themselves, in dc1b320: turning off only the driver-managed shader cache was not enough. A second process got a 1.4 MB program back in 10 ms against 19.7 s cold, from the D3D runtime's own cache for the driver. The tool now turns off all three implicit cache kinds; two processes in a row then build the same three programs cold (20.8 s and 20.1 s for the 1.4 MB one). Rows from earlier versions are cold only for programs that no earlier process of the tool had built. Smoke on dc1b320 in the description.

AI use: Claude Code (Claude Opus 5.5) found it, made the change, ran the checks and wrote this for @⁠Raghav314.

**@⁠Raghav314** on GitHub · 2026-11-25 00:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7148617740) A fix to the timings themselves, in `dc1b320`: turning off only the driver-managed shader cache was not enough. A second process got a 1.4 MB program back in 10 ms against 19.7 s cold, from the D3D runtime's own cache for the driver. The tool now turns off all three implicit cache kinds; two processes in a row then build the same three programs cold (20.8 s and 20.1 s for the 1.4 MB one). Rows from earlier versions are cold only for programs that no earlier process of the tool had built. Smoke on `dc1b320` in the description. AI use: Claude Code (Claude Opus 5.5) found it, made the change, ran the checks and wrote this for @⁠Raghav314.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 00:50 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 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 00:50 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7148944182) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 02:25 UTC · original

PR #1830 verification on STOR-WINLAB

Tested the clean, detached live PR head dc1b320af8e20a7c0288ee1d3caed91cde344b7d from origin (xcl-dev/xcl). The remote PR head still matched after the run. The change adds one-at-a-time timing for four compute shader forms and disables driver caches by default.

  • Fetched origin/main at aaa093657bd96a146c05c0c1a9b61149fe761453. git merge-tree --write-tree exited 0 for that base and the PR head, producing tree f1bc9558f9bd94b01b684c9ab8422ba714ba68e6.
  • By the end of the run, main had advanced to cbc296ab65a2661a61e3e2da109134bcd5319f60. The merge check also exited 0 for that base and the same PR head, producing tree 51fd4a46bc12ac1563825282611212603f68b31f.

Tested

  • Intel Arc A770 16 GiB, driver 32.0.101.9175, wave lanes 8–32, DoublePrecisionFloatShaderOps=0. AMD Ryzen 7 3800X, Windows 11 Enterprise Evaluation build 26200.9974, DXC/DXIL 1.9.2609.5, and rustc 1.100.0 (0ef1bc386 2026-11-09). Cargo dev and test profiles, debug info and incremental compilation disabled.
  • cargo build --workspace and cargo test --workspace --no-run both completed with exit 0 outside the GPU lock.
  • Under the Arc lock, xcl shaders tests/data/dxil --time-forms --threads 1 --timeout 10 found zero compute programs and exited 1 after cache disable returned 0x887A002D (SDK component missing or mismatched). With --warm, the same command exited 0 and emitted the 20-column CSV header with zero data rows. See pr1830-time-forms.log.
  • Under the Arc lock, cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output exited 101. Across all workspace targets, Rust reported 938 passed, 19 failed, 42 ignored. The log emitted 25 explicit skip records across 15 tests, including skips of individual cases. These cases are excluded from coverage. See pr1830-suite.log.
  • The library target had 18 failures. Fourteen reported CreateComputePipelineState invalid argument (0x80070057). Four reported assertion mismatches in fused multiply-add, implicit LOD sampling, packed f16, or wave reduction. The end-to-end target had one failure in the test title’s dynamic depth bias check (RSSetDepthBiasX).

Explicit skip records from the suite

SKIPPED gpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 arithmetic, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 compares, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))
SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer arithmetic, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 rounding, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer carries, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 transcendentals, wave64: no wave64
SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 three-source, wave64: no wave64
SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64
SKIPPED shaders::tests::pso_measurement_compiles_an_exact_synthetic_record: cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)
SKIPPED placed_title_textures_share_vram_and_preserve_pixels: tiled tier < 2
SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll
SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows
SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D))

Not tested

  • Successful cache disable, compute-form timings and per-program CSV rows. The CLI fixture contained zero compute programs, and XCL_SAMPLE_RPF was unset.
  • Optional sample-dependent paths that returned early, release builds, and other GPUs or drivers.
  • Retail-title smoke runs and a baseline test suite on main. The run does not establish whether the observed suite failures are PR regressions.

AI use

Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified the counts against pr1830-suite.log and published this report.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 02:25 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7150709556) # PR #1830 verification on STOR-WINLAB Tested the clean, detached live PR head `dc1b320af8e20a7c0288ee1d3caed91cde344b7d` from `origin` (`xcl-dev/xcl`). The remote PR head still matched after the run. The change adds one-at-a-time timing for four compute shader forms and disables driver caches by default. - Fetched `origin/main` at `aaa093657bd96a146c05c0c1a9b61149fe761453`. `git merge-tree --write-tree` exited 0 for that base and the PR head, producing tree `f1bc9558f9bd94b01b684c9ab8422ba714ba68e6`. - By the end of the run, main had advanced to `cbc296ab65a2661a61e3e2da109134bcd5319f60`. The merge check also exited 0 for that base and the same PR head, producing tree `51fd4a46bc12ac1563825282611212603f68b31f`. **Tested** - Intel Arc A770 16 GiB, driver `32.0.101.9175`, wave lanes 8–32, `DoublePrecisionFloatShaderOps=0`. AMD Ryzen 7 3800X, Windows 11 Enterprise Evaluation build `26200.9974`, DXC/DXIL `1.9.2609.5`, and `rustc 1.100.0 (0ef1bc386 2026-11-09)`. Cargo dev and test profiles, debug info and incremental compilation disabled. - `cargo build --workspace` and `cargo test --workspace --no-run` both completed with exit 0 outside the GPU lock. - Under the Arc lock, `xcl shaders tests/data/dxil --time-forms --threads 1 --timeout 10` found zero compute programs and exited 1 after cache disable returned `0x887A002D` (SDK component missing or mismatched). With `--warm`, the same command exited 0 and emitted the 20-column CSV header with zero data rows. See `pr1830-time-forms.log`. - Under the Arc lock, `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` exited 101. Across all workspace targets, Rust reported **938 passed, 19 failed, 42 ignored**. The log emitted **25 explicit skip records across 15 tests**, including skips of individual cases. These cases are excluded from coverage. See `pr1830-suite.log`. - The library target had 18 failures. Fourteen reported `CreateComputePipelineState` invalid argument (`0x80070057`). Four reported assertion mismatches in fused multiply-add, implicit LOD sampling, packed f16, or wave reduction. The end-to-end target had one failure in the test title’s dynamic depth bias check (`RSSetDepthBiasX`). Explicit skip records from the suite ```text SKIPPED gpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)) SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 arithmetic, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 arithmetic, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 compares, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)) SKIPPED gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu: f16 packed, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)) SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 conversions, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer arithmetic, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 rounding, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu: integer carries, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 transcendentals, wave64: no wave64 SKIPPED gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu: f32 three-source, wave64: no wave64 SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64 SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64 SKIPPED shaders::tests::pso_measurement_compiles_an_exact_synthetic_record: cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D) SKIPPED placed_title_textures_share_vram_and_preserve_pixels: tiled tier < 2 SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)) ``` **Not tested** - Successful cache disable, compute-form timings and per-program CSV rows. The CLI fixture contained zero compute programs, and `XCL_SAMPLE_RPF` was unset. - Optional sample-dependent paths that returned early, release builds, and other GPUs or drivers. - Retail-title smoke runs and a baseline test suite on main. The run does not establish whether the observed suite failures are PR regressions. **AI use** Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified the counts against `pr1830-suite.log` and published this report.
Author
Owner

@⁠raylitebull on GitHub · 2026-11-25 10:58 UTC · original

Diff review on dc1b320 (crates/xcl/src/gpu/recomp/pso.rs wrapper + --time-forms in shaders.rs) looks clean, and Build and test + PR description are green.

Only item remaining before merge is an AMD verification run on exact head dc1b320 (earlier AMD iGPU results were on c6c9fb2 before the --timeout and cache-control updates).

**@⁠raylitebull** on GitHub · 2026-11-25 10:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7160415244) Diff review on `dc1b320` (`crates/xcl/src/gpu/recomp/pso.rs` wrapper + `--time-forms` in `shaders.rs`) looks clean, and `Build and test` + `PR description` are green. Only item remaining before merge is an AMD verification run on exact head `dc1b320` (earlier AMD iGPU results were on `c6c9fb2` before the `--timeout` and cache-control updates).
Author
Owner

@⁠Raghav314 on GitHub · 2026-11-25 11:49 UTC · original

Could someone with an AMD GPU run #1830 on its current head dc1b320? raylitebull's review says that's the last thing before merge, and I have no AMD card. Suite plus the smoke pair, or just xcl shaders <pack> --time-forms --all 5 on Windows with developer mode on, would do.

AI use: Claude Code (Claude Opus 5.5) wrote this for @⁠Raghav314.

**@⁠Raghav314** on GitHub · 2026-11-25 11:49 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7161552538) Could someone with an AMD GPU run #1830 on its current head `dc1b320`? raylitebull's review says that's the last thing before merge, and I have no AMD card. Suite plus the smoke pair, or just `xcl shaders <pack> --time-forms --all 5` on Windows with developer mode on, would do. AI use: Claude Code (Claude Opus 5.5) wrote this for @⁠Raghav314.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-25 23:09 UTC · original

AMD and NVIDIA retest of the current head 6423b67 (on 2898511), for the AMD verification asked for above. Follows up on my earlier report, which was on c6c9fb2.

Tested

  • AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1362 passed, 0 failed, 46 ignored. The skipped test fails on main too (seed 540).
  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 with the same skips as my earlier report (tests that fail on main on this card): 1351 passed, 0 failed, 44 ignored.
  • Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17, debug.

Not tested

  • The smoke pair and xcl shaders <pack> --time-forms: both need the title, and I only run the test suite.

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-25 23:09 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7177212616) AMD and NVIDIA retest of the current head `6423b67` (on `2898511`), for the AMD verification asked for above. Follows up on [my earlier report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/1830), which was on `c6c9fb2`. **Tested** - AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **1362 passed, 0 failed, 46 ignored**. The skipped test fails on main too (seed 540). - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4` with the same skips as my earlier report (tests that fail on main on this card): **1351 passed, 0 failed, 44 ignored**. - Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17, debug. **Not tested** - The smoke pair and `xcl shaders <pack> --time-forms`: both need the title, and I only run the test suite. **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 06:27 UTC · original

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 06:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#issuecomment-7184456158) Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
Author
Owner

@⁠bmjask on GitHub · 2026-11-25 21:37 UTC · original · reviewed

P1 benchmark validity/resource exhaustion: run_timed/make leave 256 MiB worker threads alive after recv_timeout then immediately continue sweep. Timed-out translation/driver builds overlap later cells, contradicting advertised one-at-a-time/no-concurrency and contaminating cold timings while accumulating stack/commit. Own timeout run shows nine such builds. Use cancellable child process terminate/reap or stop sweep on timeout, with regression proving timed-out cell cannot overlap next measurement.

**@⁠bmjask** on GitHub · 2026-11-25 21:37 UTC · [original](https://github.com/xcl-dev/xcl/pull/1830#pullrequestreview-6065314689) · **reviewed** P1 benchmark validity/resource exhaustion: run_timed/make leave 256 MiB worker threads alive after recv_timeout then immediately continue sweep. Timed-out translation/driver builds overlap later cells, contradicting advertised one-at-a-time/no-concurrency and contaminating cold timings while accumulating stack/commit. Own timeout run shows nine such builds. Use cancellable child process terminate/reap or stop sweep on timeout, with regression proving timed-out cell cannot overlap next measurement.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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