Repository navigation
Conversation
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
I checked the expected values against the RDNA2 definitions (read from the ISA, not run on AMD hardware). All 9 match:
AI-assisted (Claude Code). |
|
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
Thanks! — Devin |
|
Compatibility note, in case it saves a conflict later: I have a local change to I merged this PR on top of it and ran |
|
Tested: Clean Not tested: Native wave64, direct DXIL, full workspace suite and retail smoke. AI use: T3 Code / Codex ( |
|
Independent desktop NVIDIA verification of PR #1226 at head Environment
Targeted GPU tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib gpu_bitwise_and_bitfield_ops -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 719 filtered out × 3 (0.28s, 0.23s, 0.22s, 0 skipped; live RTX 4060 execution compiled with DXC 1.9.2609.5) |
cargo build --release -p xcl |
Clean build (1m 20s test compile + 0.06s incremental --release build, exit 0, 0 new warnings) |
Paired quiet 60 s retail smoke (title: 29640639)
(Note: scripts/smoke.ps1 at 47efa2ec predates 9683e7a6 and printed the local folder basename on title:; replaced below with the standard 9683e7a6 title hash 29640639, with all measured fields verbatim.)
Exact parent & merge-base (47efa2ecea0a12934719ae69b81930cf02a4b1c3):
xcl-smoke v1
commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1527 (PresentX 1527)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14723 MB
PR #1226 (f09c1d44ac0185521ac98be091d7914902d7514c):
xcl-smoke v1
commit: f09c1d44ac0185521ac98be091d7914902d7514c
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1596 (PresentX 1596)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14713 MB
Limits of coverage
- This PR is test-only (
crates/xcl/src/gpu/recomp/tests.rs,0production-code changes);gpu_bitwise_and_bitfield_opscompiled and executed3/3on desktop RTX 4060 (Wave32-only Ada; native Wave64 paths are not exercised). - The 60 s retail smoke confirms non-regression of the unchanged runtime binary at this commit (single-run frame/commit delta vs. parent reflects normal startup variance, not this PR).
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
|
Overlaps the open GPU test PRs of #1607 group D171 for some ops: v_bfi_b32, v_bfm_b32 and v_perm_b32 are also tested by #445 and #1576, v_perm_b32 by #1057, and v_ffbh_u32/v_ffbh_i32/v_ffbl_b32 by #1576. v_not_b32, v_xnor_b32 and v_bfrev_b32 are tested by none of them and none of these ops is tested on main. Unlike #1576 (wave64 only), this test also runs wave32 through AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Adds GPU execution tests for nine translated bitwise and bitfield VALU instructions that had no existing GPU test coverage:
v_not_b32,v_xnor_b32,v_bfrev_b32,v_ffbh_u32,v_ffbh_i32,v_ffbl_b32,v_bfm_b32,v_bfi_b32andv_perm_b32. Test-only change.What is in it
crates/xcl/src/gpu/recomp/tests.rs:gpu_bitwise_and_bitfield_opsexercising zero, all-ones, sign-bit, bitmask wrap, and allv_perm_b32selector classes (byte picks, half/word sign extensions,0x00and0xFFfills) throughgpu_waves().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_bitwise_and_bitfield_ops --nocapture: 1 passed, 0 failed (wave32 pass on this adapter)Regression run
Not tested
XCL_SAMPLE_*unset), Wine, release build.AI use
emit.rscoverage, wrote the test and PR description, and ran the test suite locally.