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
|
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
None: I have no title to run. The per-lane form is only used with
XCL_PER_LANE=1(withXCL_DIRECT_DXIL=1), off by default, so the default runtime path does not reach this code. Could a maintainer run the smoke check or waive it?main:
PR:
Not tested
XCL_PER_LANE=1at runtimeAI use
🤖 Generated with Claude Code