Repository navigation
Conversation
|
Test report for Tested
Do the tests notice a broken translator? One break is not noticed:
Four other breaks were caught. Not tested: the whole suite, AMD, native wave64, retail title. AI use: Claude Code (Claude Opus 5.5) ran this on my machine, wrote the report and posted it for me. |
|
Thanks for the mutation check on RTX 4060, @mantavisual! Added high-bit ( |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
abdd27c to
f235a39
Compare
|
CI \Build and test\ and \PR description\ passed on \235a39. With #1617\ now merged at the end of |
f235a39 to
06649f0
Compare
|
Rebased onto Updated the PR description with the new head and counts. I do not have AMD GPU hardware locally, so native-wave64 AMD validation on |
|
Tested Independent Arc A770 verification of open PR #1672 at STOR-WINLAB, Windows 11 Enterprise Evaluation 25H2 x64 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust and Cargo 1.100.0 x86_64-pc-windows-msvc. The fixture logged DXC/DXIL 1.9.2609.5. Used the unoptimized test profile, two Cargo jobs, incremental compilation and debug info disabled, and private TEMP/TMP. cargo test --locked -p xcl --lib --no-run
$env:XCL_ADAPTER = 'A770'
$env:XCL_DIRECT_DXIL = '0'
$env:XCL_DXC_DIR = Join-Path $env:LOCALAPPDATA 'XclTooling/dxc-1.9.2609/bin/x64'
& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test {
& 'L:/XclTooling/pr1310-234ec72c/target/debug/build/xcl/97fdf2b9ff8e1482/out/xcl-97fdf2b9ff8e1482.exe' 'gpu::recomp::tests::gpu_f32_unary_and_cvt_f16_int_ops' --exact --nocapture --test-threads=1
}The prebuild exited 0 outside the mutex (43.07 s). The fixture reported 1 passed, 0 failed, 0 ignored, 0 GPU skips, 1,125 filtered out, 0.76 s. The native executable and wrapper exited 0. The wrapper logged lock release. HLSL/DXC checked all 64 logical lanes in split wave64. The runner's selection and the same-host A770 capability range of 8–32 hardware lanes establish that the program used two hardware wave32s. All 1,216 assertions passed, covering FP32 rounding and unary math, FP16 conversions to and from signed and unsigned integers, and upper-half preservation. Conversion checks included truncation, saturation, and NaN-to-zero. Not tested Native wave64, standalone wave32 mode, direct DXIL, other fixtures or GPUs, the workspace suite, and retail titles. AI use T3 Code / Codex (gpt-6.2-sol) ran the checked-in fixture, verified the logs, and wrote the test report. |
06649f0 to
0c4e5c9
Compare
|
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current |
|
@DavidM1911 Thanks for checking — |
0c4e5c9 to
2492d78
Compare
|
Rebased onto latest Verified locally after rebase on RTX 4060 Laptop GPU (
|
2492d78 to
728a6a2
Compare
|
No open or merged PR adds these tests. Some instructions overlap with other open test PRs: V_LOG_F32 and V_RSQ_F32 with #643 and #1169, V_SIN_F32 with #643 (transcendentals), V_CVT_U16_F16 and V_CVT_I16_F16 with #639 and #1115. The SOPK cases (S_ADDK/S_MULK/S_CMPK_*), S_BREV_B64, S_FF0_I32_B32, S_BITSET0_B32 and the f32 rounding ops are not tested on main or in those PRs. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Tests only — adds GPU execution coverage in
crates/xcl/src/gpu/recomp/tests.rsfor previously untested RDNA2SOPK, scalar bit-manipulation,f32unary math/rounding, andf16integer conversion instructions (3d9b7023,2492d786, rebased ontomainfa204595).What is in it
crates/xcl/src/gpu/recomp/tests.rs(3d9b7023): addsgpu_sopk_and_scalar_bit_reverse_zero_scan(S_ADDK_I32,S_MULK_I32, all 12S_CMPK_{EQ,LG,LT,LE,GT,GE}_{I32,U32},S_BREV_B32,S_BREV_B64,S_FF0_I32_B32,S_FF0_I32_B64,S_FLBIT_I32_B32,S_BFM_B32,S_BITSET0_B32) andgpu_f32_unary_and_cvt_f16_int_ops(V_FLOOR_F32,V_CEIL_F32,V_TRUNC_F32,V_RNDNE_F32,V_RCP_F32,V_RSQ_F32,V_SQRT_F32,V_LOG_F32,V_EXP_F32,V_SIN_F32,V_COS_F32,V_CVT_{F16_U16,F16_I16,U16_F16,I16_F16}).crates/xcl/src/gpu/recomp/tests.rs(2492d786): adds high-bit (0x8000_0000vs1) and zero-extended0xFFFF(65535) immediate cases acrossS_CMPK_*_U32.Tested
1.8.2502.11(10.0.26100.0), debug build at commit2492d78653fbd43563bd76a1efbca270d9553e35:cargo test -p xcl --lib gpu_sopk_and_scalar_bit_reverse_zero_scan -- --nocapture: 1 passed, 0 failed (0.39s).cargo test -p xcl --lib gpu_f32_unary_and_cvt_f16_int_ops -- --nocapture: 1 passed, 0 failed (0.28s).cargo test -p xcl --lib gpu::recomp::tests -- --test-threads=1: 205 passed, 0 failed, 18 ignored (21.17s; host-capabilitySKIPPEDtests skip on RTX 4060 / no native wave64 / no heap windows).cargo test --workspace --test "*" -- --test-threads=1: 134 passed, 0 failed, 20 ignored across 36 integration test binaries.python scripts/pr_check.py --localandgit diff --check upstream/main..HEAD: passed.Not tested
--librun completed earlier non-gpu::recompmodules up tohle::d3d12x::bind::tests::gpu_two_pass_indirect_commands_keep_their_own_records, which failed due to 8 GB VRAM sparse-upload exhaustion in cumulative multi-test runs (gpu_two_pass_indirect_commands_keep_their_own_recordspassed 1/1 in0.09swhen run isolated).AI use
main, ran the local test suites, and drafted this PR description.