Tests: check v_dot2_f32_f16 and v_dot2c_f32_f16 on the GPU #1157
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!1157
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1157/head"
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?
@mynzjerko on GitHub · 2026-11-24 12:38 UTC · original
tests/dot2-f32-f16-gpu→main· +118 −0 · 1 files · 1 commits · closed without mergingAdd GPU test coverage for
v_dot2_f32_f16(ENC_VOP3P) andv_dot2c_f32_f16(ENC_VOP2) against a pure-Rust reference in bothwave64andwave32.What is in it
crates/xcl/src/gpu/recomp/tests.rs: addgpu_dot2_f32_f16_and_dot2ccoveringOP_SEL/OP_SEL_HIhalf selection and broadcast,NEG/NEG_HI,CLAMP, SGPRSRC0/SRC2, single and chainedv_dot2c_f32_f16accumulation, and partialEXECmasking.Tested
32.0.32029.2010), AMD Ryzen 5 7500F, Windows 11 Pro 10.0.26300,rustc 1.100.0(stable-x86_64-pc-windows-msvc), DXC1.9.2602.17, debug buildcargo test -p xcl --lib -- gpu_dot2_f32_f16_and_dot2c --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored (0 SKIPPED)cargo test --workspace -- --test-threads=4: 742 passed, 0 failed, 41 ignored (xcl --lib: 699 passed, 0 failed, 21 ignored;SKIPPEDGPU tests: 0)Not tested
scripts/smoke.ps1; tests-only change)AI use
@jesuarchive on GitHub · 2026-11-24 12:42 UTC · original
NVIDIA run, since Not tested lists NVIDIA. Head
dcc0787, merged locally ontomain47efa2e(clean merge, nothing pushed).Tested
stable-x86_64-pc-windows-msvc; DXC 1.9.2602.17 from the Windows SDK; debug.cargo test -p xcl --lib -- gpu_dot2_f32_f16_and_dot2c --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored, not skipped. On this adaptergpu_waves()gives only wave32, so the test ran its wave32 pass on the NVIDIA driver (no wave64 pass here).cargo test --workspace -- --test-threads=4: 742 passed, 0 failed, 41 ignored.main47efa2eon the same machine: 741 / 0 / 41; the extra one is this test.main:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64).Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 12:46 UTC · original
Independent verification on current
main384f7f7(branch already contains it — clean).Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11.
cargo test -p xcl --lib dot2_f32: 1 passed, 0 failed —gpu_dot2_f32_f16_and_dot2ccovers both ops on real hardware.AI use: test runs by Devin (Cognition, SWE-2); no code changes.
@JoaoPauluu on GitHub · 2026-11-24 13:45 UTC · original
A run on Linux with vkd3d-proton, where the shaders go through dxil-spirv to Vulkan instead of a Windows driver's DXIL compiler.
Tested
x86_64-pc-windows-gnu.dcc0787as it is (based on47efa2e), no uncommitted changes. The lib test binary runs under Wine.gpu::recomp::tests::gpu_dot2_f32_f16_and_dot2c(--exact, one process): ok, no SKIPPED. DXC compiled it and it ran on the GPU in about 0.8 s.Not tested
AI use
Pull request closed