Repository navigation
Tests: verify direct DXIL vs HLSL GPU parity for wide, paired, d16, and ADDTID LDS ops - #2093
ramon-victor wants to merge 1 commit into
Conversation
…nd ADDTID LDS ops
Arc A770 test report for XCL PR #2093Tested
& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test {
& 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/d3d638d6f97ebe8d/out/gpu_dxil_lds_wide_d16_parity-d3d638d6f97ebe8d.exe' direct_dxil_lds_subdword_and_d16_parity --exact --nocapture --test-threads=1
}
The fixture validated the direct DXIL and compiled the HLSL reference with DXC for Expected-value checks also passed. Neighboring lanes packed four bytes or two halfwords per LDS dword using Not testedThe three other fixtures in this integration target, the workspace suite, retail-title smoke, native hardware wave64, other adapters and drivers, and release builds. AI useT3 Code / Codex (gpt-6.2-sol) ran the checked-in fixture, verified the live PR and logs, and wrote this report. |
|
Native 64-lane wave64 run on AMD, which this PR lists as not tested (the RTX 3070 ran wave64 split; the other report here is Arc). Tested: pass, head
AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report. |
|
A run with vkd3d-proton as the host D3D12, so both the direct DXIL and the HLSL → DXC output go through dxil-spirv and the NVIDIA Vulkan driver: all 4 parity tests pass, none skipped. Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Add GPU differential parity tests between the direct RDNA2 → DXIL translator (
xcl::gpu::dxil::kernel::translate, validated withdxil.dll) and the HLSL + DXC path (xcl::gpu::recomp) forlower_mem.rsLDS wide, paired/ST64, sub-dword/D16, andADDTIDload/store instructions across wave32 and wave64 (split wave64 on wave32-only GPUs). Test-only change; no runtime files modified.What is in it
crates/xcl/tests/gpu_dxil_lds_wide_d16_parity.rs:direct_dxil_lds_wide_64_96_128_parity:DS_WRITE_B64/B96/B128+S_BARRIER+ cross-laneDS_READ_B64/B96/B128withOFFSET1andV_CMPX_GT_U32inactive-laneEXECmasking.direct_dxil_lds_two_address_and_st64_parity:DS_WRITE2_B32/DS_READ2_B32(includingVDST == ADDRregister overlap),DS_WRITE2_B64/DS_READ2_B64,DS_WRITE2ST64_B32/DS_READ2ST64_B32(256-byte stride), andDS_WRITE2ST64_B64/DS_READ2ST64_B64(512-byte stride).direct_dxil_lds_subdword_and_d16_parity:DS_WRITE_B8,DS_WRITE_B8_D16_HI,DS_WRITE_B16,DS_WRITE_B16_D16_HIacross neighbouring lanes sharing dwords, read back withDS_READ_{U8,I8,U16,I16}and all sixDS_READ_{U8,I8,U16}_D16{,_HI}variants preserving the untouched 16-bit half ofVDST.direct_dxil_lds_addtid_and_exec_mask_parity:DS_READ_ADDTID_B32andDS_WRITE_ADDTID_B32addressing viaM0[15:0] + offset + 4*lane(with non-zero high half inM0) andEXEC-masked even-lane updates.Tested
x86_64-pc-windows-msvc), DXC 1.8.2502.11 (Windows SDK 10.0.26100.0), debug build.cargo test -p xcl --test gpu_dxil_lds_wide_d16_parity -- --nocapture: 4 passed, 0 failed, 0 ignored (0 SKIPPED; each test ran both wave32 and split wave64 through both Direct DXIL and HLSL+DXC)..\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4) on head5e4d004: 1158 passed, 0 failed, 46 ignored (24 SKIPPED GPU tests: 20no wave64, 3per-lane form#1426, 1no heap windows).Not tested
AI use