Repository navigation
Tests: cover permlane16, WQM, DS stride64, mulhi, i24, and u64 shifts - #1617
Merged
raylitebull merged 1 commit intoNov 25, 2026
Merged
Conversation
|
AMD result with native 64-lane waves, which this PR lists as not tested. Updated for head Tested: pass, head
Not tested: Intel Arc; release build; the whole workspace suite. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report. |
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
piyonchu
force-pushed
the
tests/gpu-permlane-wqm-lds-math
branch
from
November 25, 2026 01:38
e75cd90 to
ce22d27
Compare
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests only — adds two GPU hardware execution tests to
crates/xcl/src/gpu/recomp/tests.rs(ce22d27, rebased ontomain8f5fca5) covering previously untested RDNA2 lane-permute (FI/BOUND_CTRL), scalar whole-quad mask, stride-64 LDS dual reads/writes, scalar sign extension/abs/mulhi, 24-bit integer multiply/mad, 64-bit vector right shifts, and chained carry-borrow subtraction instructions.What is in it
crates/xcl/src/gpu/recomp/tests.rs:gpu_permlane16_wqm_and_lds_stride64: runsS_WQM_B32(non-zero and zero SCC),S_WQM_B64,DS_WRITE2ST64_B32/DS_READ2ST64_B32,DS_WRITE2ST64_B64/DS_READ2ST64_B64,V_PERMLANE16_B32(all threeFI/BOUND_CTRLinactive-source behaviors under maskedEXEC), andV_PERMLANEX16_B32across 64 lanes on the GPU.gpu_scalar_sext_mulhi_and_vector_i24_sub_co_ci_u64_shifts: runsS_SEXT_I32_I8,S_SEXT_I32_I16,S_ABS_I32,S_MUL_HI_U32,S_MUL_HI_I32,V_MUL_HI_U32,V_MUL_HI_I32,V_MUL_I32_I24,V_MUL_HI_I32_I24,V_MAD_I32_I24(with non-zero upper 8 bits),V_LSHRREV_B64,V_ASHRREV_I64,V_SUB_CO_CI_U32(VOP3B), andV_SUBREV_CO_CI_U32(VOP2) on the GPU.Tested
616.56), Windows 11, DXC/DXIL1.8.2502.11(10.0.26100.0),rustc 1.100.0, debug build at commitce22d2744bbaea51948602f76af11aac82befbd3:cargo test -p xcl --lib gpu_permlane16_wqm_and_lds_stride64: 1 passed, 0 failed (0.51s).cargo test -p xcl --lib gpu_scalar_sext_mulhi_and_vector_i24_sub_co_ci_u64_shifts: 1 passed, 0 failed (0.47s).cargo test --workspace -- --test-threads=4: 1104 passed, 0 failed, 46 ignored.SKIPPEDGPU tests on this adapter (no wave64 / no heap windows / no Windows Developer Mode / refused wave32 per-lane f16 gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 forms):gpu::recomp::lower::tests::{a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu,cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu,coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu,the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu},gpu::recomp::lower_dxil::tests::{a_per_lane_2d_or_3d_group_runs_on_the_gpu,f16_programs_on_the_gpu,const_and_null_mask_operands_agree_with_hlsl_on_the_gpu,f32_programs_on_the_gpu,integer_programs_on_the_gpu,f64_programs_on_the_gpu},gpu::recomp::tests::{gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware},shaders::tests::pso_measurement_compiles_an_exact_synthetic_record,heap_window_out_of_memory_falls_back_to_the_switch_form.python scripts/pr_check.py --localandgit diff --check upstream/main..HEAD: passed.Regression run
crates/xcl/src/gpu/recomp/tests.rs(only new GPU instruction tests added; no runtime code changed).Not tested
AI use
main, ran the local workspace test suite, and drafted this PR description.