Repository navigation
Conversation
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
GPU run of Tested
Not tested
AI use
|
|
AMD RDNA4 run of Tested
So the sign of Not tested
AI use
|
|
The Tested (
So on AMD this test needs #672 first; that may be worth a line in its description. AI use: Claude Code (Claude Opus 5.5) ran the tests and drafted this comment. |
|
Tested Clean detached PR head
& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test {
& 'L:/XclTooling/pr2008-dc0d25fe/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe' gpu::recomp::tests::gpu_f16_rounding_and_frexp_ldexp --exact --nocapture --test-threads=1
}1 passed, 0 failed, 0 ignored, 0 skipped, 719 filtered out, 0.22 s. Child and wrapper exited 0. An initial wrapper launch stopped before the fixture because of PowerShell execution policy. The successful launch used process-scoped RemoteSigned and ran the fixture once. All 296 standalone wave32 lane-operation assertions passed. In particular, Not tested Native or split wave64, negative-sign AI use T3 Code / Codex ( |
|
Independent RTX 5070 check of this fixture on a newer runtime tree. Applied the unchanged test-only diff from #1227 f30395b cleanly onto 7a1f5a2 (#1994 original head). No runtime changes were applied. This is not a clean #1227-head run. Windows 10 x64, i7-12700KF, RTX 5070 driver 591.86, Rust 1.100.0 MSVC debug, DXC/DXIL 1.8.2502.11 and local Agility SDK, XCL_ADAPTER=5070.
Not tested: clean original PR runtime, AMD/Intel, native wave64, full workspace, Release, retail, or fallback instrumentation. Temporary fixture addition restored byte-for-byte; no tracked diff after execution. Logs: pr1227-modern-0.log and pr1227-modern-all.log under I:\neospace\work\xcl-1994-5070. |
Adds GPU execution tests for translated binary16 rounding, fraction,
frexpandv_ldexp_f16instructions:v_ceil_f16,v_floor_f16,v_trunc_f16,v_rndne_f16,v_fract_f16,v_frexp_mant_f32,v_frexp_exp_i32_f32,v_frexp_mant_f16,v_frexp_exp_i16_f16andv_ldexp_f16. Test-only change.What is in it
crates/xcl/src/gpu/recomp/tests.rs:gpu_f16_rounding_and_frexp_ldexpcovering positive/negative fractions, tie-to-even (2.5 -> 2.0),+0.0/-0.0,+infand sub-unit scaling acrossgpu_waves(). Negative-sign mantissa outputs forv_frexp_mant_*are skipped (tracked in Recompiler: v_frexp_mant_f32 drops the sign of negative inputs #580 / Recompiler: v_frexp_mant_f32 / _f16 keep the input's sign (#580) #587).Tested
./scripts/test.ps1: 742 passed, 0 failed, 41 ignored (SKIPPED GPU tests:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64))cargo test -p xcl --lib -- gpu_f16_rounding_and_frexp_ldexp --nocapture: 1 passed, 0 failed (wave32 pass on this adapter)Regression run
Not tested
v_frexp_mant_*outputs (Recompiler: v_frexp_mant_f32 drops the sign of negative inputs #580 / Recompiler: v_frexp_mant_f32 / _f16 keep the input's sign (#580) #587), native wave64 pass (AMD/Intel GPUs), retail game runs (XCL_SAMPLE_*unset), Wine, release build.AI use
emit.rscoverage, wrote the test and PR description, and ran the test suite locally.