Tests: cover V_BFE_U32 width and offset bounds on the GPU #1626
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!1626
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1626"
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?
@pane33 on GitHub · 2026-11-24 18:23 UTC · original
pane33:tests/gpu-unsigned-bfe-bounds→main· +33 −0 · 1 files · 1 commits · openAdd GPU coverage for the width and offset bounds of
V_BFE_U32. The test checks zero width, the maximum effective width, masking of both operands, and extraction across the end of the source word.What is in it
gpu_unsigned_bfe_width_and_offset_boundstocrates/xcl/src/gpu/recomp/tests.rs.Tested
32.0.16.2124, Rust and Cargo1.100.0(x86_64-pc-windows-msvc), DXC1.9.2602.17, debug profile. Tested base9e3831e1f570d3646e53ab753b19ec07eb8f1485with the proposed diff applied.cargo test -p xcl --lib gpu_unsigned_bfe_width_and_offset_bounds -- --nocapture— 1 passed, 0 failed, 0 ignored, 0 GPU skips, 748 filtered out. All 32 wave32 lanes matched their expected results, covering all five cases.powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\test.ps1withRUST_TEST_NOCAPTURE=1— 777 passed as reported by Cargo, 0 failed, 41 ignored, 0 filtered out. The pass count includes the three GPU skips below.gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware(no wave64), andheap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).git diff --check— passed.Regression run
tests.rs. The runtime smoke requirement does not apply.Not tested
XCL_SAMPLE_*variables were unset.AI use
@Belox17 on GitHub · 2026-11-24 20:02 UTC · original
Test report for
d6f33d6fon NVIDIA (RTX 3060 Ti): the new GPU test passes and nothing else changesTested
d6f33d6fas is (base9e3831e), clean tree.gpu_unsigned_bfe_width_and_offset_bounds) withcargo test -p xcl --lib <name>: 1 passed (the GPU part ran on this adapter, noSKIPPED).cargo test --workspace -- --test-threads=4on the head: 777 passed, 0 failed, 41 ignored; its base9e3831eon the same machine: 776 passed, 0 failed, 41 ignored. SKIPPED on both:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).mainc160d86e(clean merge): 859 passed, 0 failed, 42 ignored;mainalone: 858 passed, 0 failed, 42 ignored, the same three SKIPPED as above.Not tested
AI use: Claude Code (Claude Opus 5.5) ran the commands on this machine and wrote this report from those runs.
@DavidM1911 on GitHub · 2026-11-24 20:46 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.