Tests: skip the raw heap-window view test on a device without SM 6.6 #1783
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!1783
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1783/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?
@simplesmenterafael on GitHub · 2026-11-24 20:37 UTC · original
simplesmenterafael:tests/heap-window-skip-without-sm66→main· +8 −0 · 1 files · 1 commits · merged 2026-11-25 19:19 UTCgpu_raw_window_view_reaches_its_topcompiles acs_6_6shader that indexesResourceDescriptorHeap, but it checked only for a GPU and DXC. On a device without SM 6.6 (Windows 10's inbox D3D12 with no Agility SDK) the pipeline is refused and the test failed instead of skipping like the runner's GPU tests:Since
cargo teststops at the first failing test binary, this also kept the integration tests from running on such a machine.What is in it
crates/xcl/src/gpu/recomp/heap_window_tests.rs: check the shader model before compiling and skip withagility::format_no_sm66_message, the message the runner's tests use.Tested
cargo test -p xcl --lib gpu_raw_window_view_reaches_its_top:XCL_D3D12_DIR(Agility SDK v620): runs and passes, as before;SKIPPED gpu::recomp::heap_window_tests::gpu_raw_window_view_reaches_its_top: NVIDIA GeForce RTX 3050: no SM 6.6 (on Windows 10, set XCL_D3D12_DIR to a D3D12 Agility SDK folder); on main it fails as above..\scripts\test.ps1(cargo test --workspace -- --test-threads=4) on the tree of7cf0f9a, with the Agility SDK: 891 passed, 0 failed, 42 ignored. SKIPPED:gpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows),shaders::tests::pso_measurement_compiles_an_exact_synthetic_record(cannot disable the driver cache: Windows Developer Mode is required).Regression run
Not tested
AI use
@Ctrl-Alt-Haze on GitHub · 2026-11-24 21:20 UTC · original
Tested (head
7cf0f9a82a25140a5c37c054d785af3c07ccb93f, NVIDIA GeForce RTX 5070 Ti, driver 32.0.16.2135, Wave32, AMD Ryzen 9 5950X, Windows 11 Build 26340,rustc 1.99.1, DXC1.8.2502.11, debug, synthetic tests only):.\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4): 891 passed, 0 failed, 42 ignored (SKIPPEDGPU tests:2 (no wave64)—gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware;1 (no heap windows)—heap_window_out_of_memory_falls_back_to_the_switch_form). Note: RTX 5070 Ti supports SM 6.6, sogpu_raw_window_view_reaches_its_topran and passed without hitting the non-SM 6.6 skip path.AI use: Antigravity (Google DeepMind; exact model version not exposed to agent) ran the test suite and formatted the results.
@futurepro62 on GitHub · 2026-11-24 22:22 UTC · original
Adding an AMD GPU (RDNA2, native wave64) to the report above, which has none, with an NVIDIA run alongside. Tested exact head
7cf0f9a(on its base4178e88).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 889 passed, 0 failed, 42 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.#[test]functions in the diff.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 891 passed, 0 failed, 42 ignored. SKIPPED:heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows),pso_measurement_compiles_an_exact_synthetic_record(cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)).--skipon NVIDIA. Both fail on main7f7e768too, not because of this PR: underXCL_REQUIRE_GPU=mesh,runner::skip_testturns their skips into failures.heap_window_out_of_memory_falls_back_to_the_switch_formskips whenXCL_HEAP_WINDOWSis unset (#1651), andshaders::tests::pso_measurement_compiles_an_exact_synthetic_recordskipped because Developer Mode was off. The AMD run does not setXCL_REQUIRE_GPU, so there both just print SKIPPED.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 23:36 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!
@JJAutoCompare on GitHub · 2026-11-25 04:25 UTC · original
PR #1783 — Arc A770 verification
Head
7cf0f9a82a25140a5c37c054d785af3c07ccb93f, detached and clean before and after testing. The only changed file,crates/xcl/src/gpu/recomp/heap_window_tests.rs, adds a skip before shader compilation when the D3D12 shader-model query fails or returns below SM 6.6.STOR-WINLAB ran Windows 11 Enterprise Evaluation x64 (build 26200), with an AMD family 23/model 113 CPU (~3.9 GHz) and Intel Arc A770 (16 GB, driver 32.0.101.9175). DXC reported 1.9.2609.5. Rust was 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Builds used the unoptimized profiles with debug info and incremental compilation disabled.
Tested
cargo build --workspaceandcargo test --workspace --no-runexited 0 outside the Arc mutex. The second command compiled 19 test binaries.cargo test -p xcl --lib gpu::recomp::heap_window_tests::gpu_raw_window_view_reaches_its_top -- --exact --nocapturereturned 1 passed, 0 failed, 0 ignored, 0 skipped. The SM 6.6 check succeeded and the shader verified readback at both ends of the 4 GiB sparse window. The test also passed in the workspace suite.cargo test --workspace --no-fail-fast -- --test-threads=4exited 101. Across all 20 result lines (19 binaries and doc-tests), libtest reported 873 passed, 18 failed, 42 ignored. The log had 7 lines beginning withSKIPPED, which are included in libtest's pass count and excluded from coverage. Both test runs usedInvoke-ArcTest.ps1,XCL_ADAPTER=A770, andRUST_TEST_NOCAPTURE=1.Workspace failures and skips
CreateComputePipelineStateerror0x80070057. Four failed assertions for FMA, implicit-LOD sampling, packed VALU output, and pixel wave reduction.RSSetDepthBiasX#94).Not tested
The SM 6.6 skip branch on unsupported devices, other adapters, a matched main baseline, and retail-title smoke runs.
AI use
T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1783-suite.logand published.@ivall on GitHub · 2026-11-25 19:19 UTC · original
Merging: skips with a counted reason on a device without SM 6.6.
Tested on AMD RDNA4 (native wave64), Windows, DXC 1.8.2502.11, debug,
main2898511with 27 test PRs merged locally, this one included: the whole suite 3 times, 1419 passed, 2 failed, 46 ignored each time (fuzz_validate_and_gpu_1and_3, which fail the same way onmain);hle::d3d12xon 16 threads 5 times, no failure.AI use: Claude Code (Claude Opus 5.5) reviewed and tested this and wrote the comment on the maintainer's behalf.