Recompiler: the per-lane form takes f16 converts and products from #1426 #2182
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2182
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2182"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@xpatfussy69x on GitHub · 2026-11-25 08:10 UTC · original
xpatfussy69x:recompiler/per-lane-f16-rne→main· +0 −13 · 1 files · 1 commits · openRemoves the
DIFFERS_ON_1426refusal list from the per-lane form (crates/xcl/src/gpu/recomp/lower.rs). It was added in878afdawhile #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
c3015b1): drop the refusal list incrates/xcl/src/gpu/recomp/lower.rs(13 lines removed, nothing added)Tested
c3015b1(on main568e7db), no uncommitted changescargo test --workspace -- --test-threads=4: 1154 passed, 0 failed, 46 ignored (same counts as main568e7dbon 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
@luckyteagirl on GitHub · 2026-11-25 08:15 UTC · original
Independent RX 6800M check on exact head
c3015b19ad82247000fc0831e8cabd53dae1ee03(base568e7db7729c8fa6c8f0f4b32d798faaf11462bb). The detached worktree was clean.Environment: Windows 11 build 26200; Ryzen 9 5980HX; Radeon RX 6800M (RDNA2, native wave64), driver
30.0.13002.13003; Rust 1.99.0 MSVC; DXC/DXIL 1.9.2609.5. I setXCL_ADAPTER=6800M,XCL_REQUIRE_GPU=wave64,XCL_DIRECT_DXIL=1, and the matchingXCL_DXC_DIR.Commands and results:
cargo test --locked -p xcl --lib -j 2 f16_programs_on_the_gpu -- --test-threads=1 --show-output: 1 passed, 0 failed, 0 ignored.cargo test --locked -p xcl --lib -j 2 f32_programs_on_the_gpu -- --test-threads=1 --show-output: 1 passed, 0 failed, 0 ignored.Neither log contains
SKIPPED. The shared test loop executes wave32 and native wave64 when both are supported, so the f16 arithmetic/packed and f32 conversion subcases reached the GPU instead of taking the old per-lane refusal path. The HLSL comparison program in these tests is compiled with-Gis, as the test source specifies; this report should not be read as a default-HLSL backend comparison.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
XCL_PER_LANE=1.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.
@Anon64 on GitHub · 2026-11-25 08:24 UTC · original
Regression run for this PR, on a retail title, from
scripts/smoke.ps1as printed. 60 s, release, default settings, A pressed every 4 s from 20 s. RTX 3060 12 GB, Windows 11.main:
this PR:
No device removal or crash. Frames are 102 % of
main's, and peak commit is 100 % ofmain's. The run does not show whether the title reaches the per-lane form on 32-lane hardware, so this is a regression check only.AI use: Claude Code (Claude Opus 5.5) ran both builds and wrote this report.
@siam4201 on GitHub · 2026-11-25 09:24 UTC · original
Tested on NVIDIA GeForce RTX 5070 Ti (driver
32.0.16.2101, Ryzen 9 7900X, Rust1.97.1):Tested (
.\scripts\test.ps1)main(568e7db): 1094 passed, 4 failed (fuzz_validate_and_gpu_0..3, pre-existingE_OUTOFMEMORY#1905), 26 ignored; skipped: 14no wave64+ 3per-lane form: refused(V_CVT_F16_F32,V_PK_MUL_F16,V_MUL_F16)pr-2182(c3015b1): 1094 passed, 4 failed (same pre-existingfuzz_validate_and_gpu_0..3), 26 ignored; skipped: 14no wave64(all 3f16per-lane tests now run and pass)Regression run (
.\scripts\smoke.ps1, 30s)main:pr-2182:Not tested
AI use
@Victorbriez on GitHub · 2026-11-25 14:50 UTC · original
RTX 3070 check of this PR merged into current
main: the three refused per-lane cases now run and pass, nothing else changes.Tested
main06c9f55as is, and a local merge of headc3015b1intomain06c9f55(merges without conflicts; diff againstmainis the PR's 13 removed lines incrates/xcl/src/gpu/recomp/lower.rs)cargo test --workspace -- --test-threads=4:main06c9f55: 1265 passed, 0 failed, 46 ignored; 27 SKIPPEDf16_programs_on_the_gpu(f16 arithmetic, f16 packed) andf32_programs_on_the_gpu(f32 conversions). Both tests pass, so these cases now match the CPU run of the lowering on this card.pso_measurement_compiles_an_exact_synthetic_record(Developer Mode off, 0x887A002D); 1 ×test_title_draws_with_a_root_signature_under_the_debug_layer(no xgameruntime.dll)Not tested
XCL_PER_LANE=1with a real title was not runc3015b1on its own base568e7db(only the merge into06c9f55)AI use
@DavidM1911 on GitHub · 2026-11-25 15:39 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@emirduran707 on GitHub · 2026-11-25 21:14 UTC · original
Independent AMD RDNA4 (native wave64) test report on exact head
c3015b19ad82247000fc0831e8cabd53dae1ee03(clean detached checkout, no local changes).Tested
stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17; tests debug, smoke release.cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 1152 passed, 2 failed, 46 ignored; 2 SKIPPED (heap_window_out_of_memory_falls_back_to_the_switch_form;pso_measurement_compiles_an_exact_synthetic_record).main(gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpuarithmetic/packed andf32_programs_on_the_gpuconversions, both wave32 and native wave64) ran and passed on AMD RDNA4 with zero skips.gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1seed 722 andfuzz_validate_and_gpu_3seed 1599) are pre-existing on unmodifiedmainon this GPU.Regression run (60 s retail-title smoke,
XCL_NETWORK=0, release)(Matched
main68a284abaseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.)Not tested
AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.