Tests: skip gpu_raw_window_view_reaches_its_top without SM 6.6 #1736
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!1736
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1736/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?
@kilvynsilveira-tech on GitHub · 2026-11-24 20:03 UTC · original
kilvynsilveira-tech:tests/skip-heap-window-without-sm66→main· +9 −1 · 1 files · 1 commits · closed without merginggpu_raw_window_view_reaches_its_topcompiles acs_6_6shader usingResourceDescriptorHeap, but its localdevice()helper opened anyD3D_FEATURE_LEVEL_12_0hardware adapter without checkingD3D_SHADER_MODEL_6_6. On pre-SM 6.6 D3D12 GPUs (such as AMD Radeon RX 580 / Polaris),CreateComputePipelineStatepanicked withE_INVALIDARG(0x80070057) instead of skipping.Check
D3D12_FEATURE_SHADER_MODEL >= D3D_SHADER_MODEL_6_6inheap_window_tests::device()and printagility::format_no_sm66_message(matchingrunner::init) before returningNonesoskip_test("no GPU")runs cleanly.What is in it
crates/xcl/src/gpu/recomp/heap_window_tests.rs: checkD3D12_FEATURE_SHADER_MODELforD3D_SHADER_MODEL_6_6indevice(), loggingformat_no_sm66_messageand returningNoneon pre-SM 6.6 adapters.Tested
rustc 1.100.0 (0ef1bc386 2026-11-09), DXCdxcompiler 1.8.2502.11(dxil 1.8.2502.11), debug build.origin/main(9039900):cargo test -p xcl --lib gpu_raw_window_view_reaches_its_toppanicked atheap_window_tests.rs:100withHRESULT(0x80070057).4e8d019):cargo test -p xcl --lib gpu_raw_window_view_reaches_its_top -- --nocapturelogsAMD Radeon RX 580 2048SP: no SM 6.6, printsSKIPPED ...: no GPU, and passes (1 passed, 0 failed).cargo test --workspace -- --test-threads=4on4e8d019: 858 passed, 0 failed, 42 ignored (243 SKIPPED GPU tests on RX 580).Regression run
crates/xcl/src/gpu/recomp/heap_window_tests.rs.Not tested
gpu_raw_window_view_reaches_its_top(host GPU is RX 580, pre-SM 6.6).AI use
@nnonno91 on GitHub · 2026-11-24 20:21 UTC · original
Independent SM 6.6 hardware check at
4e8d019043c5fcdce54d2a4927e7afc2f177383c. The affected test ran and passed on the Radeon iGPU and RTX 5090.Tested
XCL_ADAPTER.cargo build --workspace --lockedpassed. WithXCL_REQUIRE_GPU=wave64to make hardware or DXC skips fail,cargo test --locked -p xcl --lib gpu::recomp::heap_window_tests::gpu_raw_window_view_reaches_its_top -- --exact --nocapturereported 1 passed, 0 failed, 0 ignored, 0 skips on each adapter. The GPU ran the 248 readback assertions, including both ends of the view.cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --show-outputreported 858 passed, 0 failed, 42 ignored on AMD and on the clean RTX 5090 rerun. Explicit skips counted as passes:heap_window_out_of_memory_falls_back_to_the_switch_formon both (heap windows off). NVIDIA also skippedgpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware(no native wave64).gpu_sparse_vram_descriptors_buffers_and_xmem(submit 1, lane 0 read 0, expected 1077), followed by device-removed errors and lock-poison failures. That test passed when rerun by itself withcargo test --locked -p xcl --lib gpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem -- --exact --nocaptureand in the clean workspace rerun.Not tested
Pre-SM 6.6 hardware, retail titles, or the cause of the initial NVIDIA device error.
AI use
OpenAI Codex (GPT-6 family, exact variant unavailable) ran and checked the tests and wrote this report.
@DavidM1911 on GitHub · 2026-11-24 22:44 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@ivall on GitHub · 2026-11-25 19:32 UTC · original
Closing: #1783 does the same for this test and is merged (it reports the skip through
skip_test, so it is counted). Thank you for finding it and for the reports here; reopen if this covers a case #1783 does not.AI use: Claude Code (Claude Opus 5.5) wrote this on the maintainer's behalf.
Pull request closed