Repository navigation
Recompiler: the per-lane form takes f16 converts and products from #1426 - #2182
xpatfussy69x wants to merge 1 commit into
Conversation
…l-dev#1426 DIFFERS_ON_1426 refused v_cvt_f16_f32, v_mul_f16 and v_pk_mul_f16 because xcl-dev#1426's lowering rounded them toward zero (legacyF32ToF16). 18423c3 (xcl-dev#1742) made them round to nearest even, so the refusal only sent those programs to the fallback. f16_programs_on_the_gpu / f32_programs_on_the_gpu now run the per-lane form for them and match the HLSL path on a 32-lane GPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bph9DWs1uop8mppbbvYfu9
|
Independent RX 6800M check on exact head Environment: Windows 11 build 26200; Ryzen 9 5980HX; Radeon RX 6800M (RDNA2, native wave64), driver Commands and results:
Neither log contains Scope: Focused debug-build tests only. I did not run the full workspace suite, compare with main on this branch, or perform a retail-title smoke run with AI use: OpenAI Codex ran the tests, inspected the test's wave-width and HLSL-reference branches, checked the logs and exact revision, and prepared this report. |
|
Regression run for this PR, on a retail title, from main: this PR: No device removal or crash. Frames are 102 % of AI use: Claude Code (Claude Opus 5.5) ran both builds and wrote this report. |
|
Tested on NVIDIA GeForce RTX 5070 Ti (driver Tested (
Regression run (
Not tested
AI use
|
|
RTX 3070 check of this PR merged into current Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Independent AMD RDNA4 (native wave64) test report on exact head Tested
Regression run (60 s retail-title smoke, (Matched Not tested
AI use
|
|
Independent desktop NVIDIA verification of PR #2182 at head Environment
Before/after per-lane GPU tests & build (
|
| Command | Result |
|---|---|
Exact parent 568e7db7: cargo test --release -p xcl --lib -- f16_programs_on_the_gpu f32_programs_on_the_gpu --nocapture |
2 passed; 0 failed (0.36s), with 11 SKIPPED notices: 8 no wave64 plus 3 Wave32 per-lane #1426 refusals (f16 arithmetic, f16 packed, f32 conversions) |
PR #2182 c3015b19: cargo test --release -p xcl --lib f16_programs_on_the_gpu -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 1123 filtered out × 3 (0.33s, 0.27s, 0.27s; 0 Wave32 per-lane refusals — both f16 arithmetic and f16 packed executed on RTX 4060 and matched HLSL; 2 no wave64 skips remain on Wave32-only Ada) |
PR #2182 c3015b19: cargo test --release -p xcl --lib f32_programs_on_the_gpu -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 1123 filtered out × 3 (0.40s, 0.36s, 0.36s; 0 Wave32 per-lane refusals — f32 conversions executed on RTX 4060 and matched HLSL; 6 no wave64 skips remain on Wave32-only Ada) |
PR #2182 c3015b19: cargo test --release -p xcl --lib gpu::recomp::lower_dxil:: -- --test-threads=4 (3 consecutive runs) |
18 passed; 0 failed; 0 ignored; 1106 filtered out × 3 (0.41s, 0.42s, 0.41s; 14 no wave64 notices across 7 distinct tests on Wave32-only Ada; 0 #1426 refusals) |
cargo build --release -p xcl |
Clean build (1m 01s, exit 0, 0 new warnings) |
Paired quiet 60 s retail smoke (title: 29640639)
Exact parent & merge-base (568e7db7729c8fa6c8f0f4b32d798faaf11462bb, same machine):
xcl-smoke v1
commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1587 (PresentX 1587)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14527 MB
PR #2182 (c3015b19ad82247000fc0831e8cabd53dae1ee03):
xcl-smoke v1
commit: c3015b19ad82247000fc0831e8cabd53dae1ee03
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1593 (PresentX 1593)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14490 MB
Limits of coverage
- Removing
V_CVT_F16_F32,V_MUL_F16, andV_PK_MUL_F16fromDIFFERS_ON_1426was verified directly on desktop RTX 4060: Wave32 per-lane#1426refusals dropped from3on parent568e7db7to0onc3015b19, with all three newly unblocked Wave32 programs executing on-GPU and matching HLSL (3/3runs). - Native Wave64 sub-cases in
gpu::recomp::lower_dxil::remain self-skipped (no wave64) on Wave32-only Ada; the 60 s retail smoke confirms zero runtime regression ontitle: 29640639(single-run frame/commit delta vs. parent reflects normal startup variance, not this PR).
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
Removes the
DIFFERS_ON_1426refusal list from the per-lane form (crates/xcl/src/gpu/recomp/lower.rs). It was added in 878afda while #1426's lowering still usedlegacyF32ToF16forv_cvt_f16_f32,v_mul_f16andv_pk_mul_f16; #1742 (18423c3) has since made them round to nearest even, so the list only sent programs that now translate correctly to the fallback.What is in it
crates/xcl/src/gpu/recomp/lower.rs(13 lines removed, nothing added)Tested
cargo test --workspace -- --test-threads=4: 1154 passed, 0 failed, 46 ignored (same counts as main 568e7db on this machine)f16_programs_on_the_gpu(f16 arithmetic, f16 packed) andf32_programs_on_the_gpu(f32 conversions) – now run and match the HLSL path. The remaining skips are 20 × "no wave64" and 1 × "no heap windows".Regression run
Run by Anon64 on a retail title (RTX 3060 12 GB, Windows 11, release, 60 s, default settings): their comment. No device removal or crash; frames 102 % of
main's, peak commit 100 %. siam4201 ran a 30 s pair on an RTX 5070 Ti with the same outcome (their comment). The per-lane form is only used withXCL_PER_LANE=1(withXCL_DIRECT_DXIL=1), off by default, so these are regression checks of the default path.main:
PR:
Not tested
f16_programs_on_the_gpuandf32_programs_on_the_gpuon an RX 6800M withXCL_DIRECT_DXIL=1: both pass, no SKIPPED – their comment)XCL_PER_LANE=1at runtime on a titleAI use
🤖 Generated with Claude Code