Repository navigation
Tests: the thread limit tests of f9bcafd run on a wave32-only GPU - #2854
MarcosMDev wants to merge 1 commit into
Conversation
f9bcafd's two test failures on a GPU (its own run was on a software adapter, where the GPU parts skip): - gpu_compute_thread_limits_leave_the_lanes_past_them_out: the "HLSL wave32" form took Options' default wave64: true, so its program was [WaveSize(64)], which a GPU with only 32-lane waves refuses (CreateComputePipelineState: E_INVALIDARG). It now asks for wave32. - split_compute_prefers_the_offline_whole_pipeline: the entry block's thread limit test makes it 52 instructions; with the test's piece limit of 12, a block over 4 x 12 keeps the program whole and no dispatch chain is made. The limit is now 16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
AMD run (listed as untested), with an RTX 3060 in the same PC: both tests fail on Tested: pass, head
No SKIPPED lines in any of these runs. The RX 9070 XT supports 32- and 64-lane waves, so the "HLSL wave32" case now running as a wave32 program there passes too. The wave64 cases in the thread-limit test are the split forms, so this does not cover native wave64. Not tested: the AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report. |
|
Independent RTX 4060 (8 GB, Wave32-only) / Windows 11 release verification of PR #2854 at Setup
Direct before-vs-after Wave32-only RTX 4060 test results (
|
Test (--release) |
Exact parent eae01502 (before) |
PR #2854 080e973d (after, 3 consecutive runs) |
|---|---|---|
gpu::recomp::tests::gpu_compute_thread_limits_leave_the_lanes_past_them_out (--lib) |
FAILED (0.23 s, HLSL wave32: CreateComputePipelineState 0x80070057 E_INVALIDARG at tests.rs:8420) |
3/3 PASSED (0.61 s / 0.47 s / 0.47 s, 0 SKIPPED) |
split_compute_prefers_the_offline_whole_pipeline (--test gpu_compute_e2e) |
FAILED (1.04 s, assertion failed: compiled.dispatch_chain.is_some() at gpu_compute_e2e.rs:119) |
3/3 PASSED (1.77 s / 1.76 s / 1.76 s, 0 SKIPPED) |
- Running the full
gpu_compute_e2ebinary serially (cargo test --release -p xcl --test gpu_compute_e2e -- --test-threads=1) on080e973dpassed 6/7 tests (1opt-inSKIPPED:heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows); the sole failure was unrelated pre-existingasync_compute_pso_registers_real_pso_and_not_standin(forgetting released async compute PSO must clean up TRANSLATED_COMPUTE), which failed identically on unmodified parenteae01502(gpu_compute_e2e.rs:535,0.40 s, exit101).
Limits of coverage
- Test-only PR (edits only
crates/xcl/src/gpu/recomp/tests.rsandcrates/xcl/tests/gpu_compute_e2e.rs); no separate retail title smoke run was needed beyond theeae01502baseline. - Single Wave32-only discrete NVIDIA GPU (
RTX 4060) on native Windows 11; no Wave64 AMD/Intel GPU or Linux/Wine run on this host.
AI use
Ran the before-vs-after release test comparisons on RTX 4060 with assistance from Google Antigravity (Gemini 4 Neon); all pass/fail results, panic lines, and timings were extracted directly from cargo test outputs.
|
Ran the two wave32-only thread-limit tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. Both tests pass on a natively 32-lane GPU here: the HLSL wave32 form now builds with Not tested: the full workspace suite, a paired smoke run, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
|
Checked the interaction with #2794's worker fixture at the original split limit of 12 on an RTX 5070 / NVIDIA 616.92, Ryzen 7 5700X3D, Windows build 26300.10075, Rust 1.100.0 MSVC debug, DXC/DXIL 1.8.2502.11. On #2854 head The test requires at least two pieces, exactly pieces + 1 created pipelines, zero refused, and a nonempty driver blob for every piece and the whole form. This is an uncommitted local integration, not an exact-head test of either PR. On this configuration it does not establish a need to raise #2794's fixture limit; no GTA title run was performed. AI use: OpenAI Codex with GPT-6.2 Astra ran the test and reported the result; Codex coordinated and posted it. |
…xcl-dev#2856 triaged SKIP, probe past xcl-dev#2855)
|
Tested: Clean Not tested: Native wave64, parent comparison, full workspace suite and retail smoke. AI use: T3 Code / Codex ( |
|
RX 9070 / RADV / Wine release comparison: the thread-limit test is fixed here, including all nine forms with native wave64. The offline-whole test gets past the parent's chain assertion but remains blocked at the hit-case GPU readback on this Wine stack. Tested
Thread-limit executable filter:
Integration executable filter:
Runtime: inherited Not tested Integration onto main, native Windows, other GPUs, #2794's worker fixture, the full suite, retail workloads, AI use OpenAI Codex (GPT-6; exact serving variant not exposed) added test-only capture observations, ran the comparisons, independently verified the raw readbacks and drafted this report. Publication authorized by the account owner. |
f9bcafd (direct DXIL compute leaves the lanes past a thread limit out) was tested on a software adapter, where the GPU parts skip. On a GPU, two tests fail on
nvidia-deveae0150, every run. Both are test problems; the runtime is unchanged.gpu_compute_thread_limits_leave_the_lanes_past_them_out(new in f9bcafd): the "HLSL wave32" form builds itsOptionsfrom..Default::default(), whosewave64istrue, so its program is[WaveSize(64)]. A GPU with only 32-lane waves refuses it:HLSL wave32: CreateComputePipelineState: Parâmetro incorreto. (0x80070057)(E_INVALIDARG). The form now setswave64: false, as its name and thefalsenext to it say.split_compute_prefers_the_offline_whole_pipeline(unchanged by f9bcafd): its child run setsXCL_DIRECT_SPLIT_INSTRUCTIONS=12to force a dispatch chain. The entry block now holds the thread limit test and is 52 instructions;dispatch_plankeeps a program whole when one block is over 4 x the limit (48), so no chain is made and the child fails atassert!(compiled.dispatch_chain.is_some()). The limit is now 16, with a comment on why. With the default limit (12 500) a 52-instruction entry makes no difference.Found by bisecting
af2cecc..eae0150with the split test: f9bcafd is the first bad commit, and its parent 12758ed passes.What is in it
crates/xcl/src/gpu/recomp/tests.rs(test module):wave64: falseon the "HLSL wave32" form.crates/xcl/tests/gpu_compute_e2e.rs: the split test's piece limit 12 → 16, and a comment.Tested
eae0150without the change, 5 runs each: both fail each time.cargo test --workspace --locked --no-fail-fast -- --test-threads=4: 1818 passed, 6 failed, 48 ignored. Baseeae0150on the same machine: 1816 passed, 9 failed, 48 ignored. The 6 left are the 2 late-release tests (Tests: wait for late release before checking released pipelines are gone #2770; the two-pass one counts twice), the 2texture_uploadoverflow tests (Tests: some_ranges in texture_upload wraps its generator instead of overflowing #2771) andconsole_ms_in_as_slot_and_ms_with_as_are_refused_cleanly(Tests: a console MS in the AS slot is refused by its MS translation #2788). The same 30 SKIPPED lines on both.Regression run
crates/xcl/tests/and the#[cfg(test)]modulegpu/recomp/tests.rs).Not tested
XCL_DIRECT_SPLIT_INSTRUCTIONS=12; I did not run it.AI use
🤖 Generated with Claude Code