Repository navigation
Conversation
Use the existing adapter selector for test fixture devices, report the actual adapter and WARP status, and retain the WARP fallback. Keep the deliberate WARP-only test unchanged. Assisted-by: Codex (GPT-6.1-Sol)
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.
The
list_xGPU fixtures used the default D3D12 adapter even whenXCL_ADAPTERselected a different GPU. This change makes those fixtures honor the same adapter selector as XCL. Thanks to @luckyteagirl for identifying the gap in #2622. Related #2337 applies the same idea to the VRAM fixtures.What is in it
put_off_rigfixture when resolving the overlap.Tested
At this head,
0624a46e(onmain8b957bec), release,XCL_NETWORK=0, RTX 5090 (621.24) and the Ryzen 7 9800X3D's AMD Radeon iGPU (RDNA2), Windows 11:cargo test -p xcl --lib hle::d3d12x::list_x::tests:: -- --test-threads=4 --nocapture:XCL_ADAPTERunset), 3 runs: 40 passed, 0 failed each. Every fixture printedfixture adapter: NVIDIA GeForce RTX 5090; WARP=false.XCL_ADAPTER=radeon), 3 runs: 40/0, 40/0, then 39 passed, 1 failed. Every fixture printedfixture adapter: AMD Radeon(TM) Graphics; WARP=false, so the selector reaches the fixtures.a_dispatch_with_a_pipeline_still_building_waits_at_the_submit(list_x.rs:6914), an existing parallel-test flake on this iGPU. It isn't from this change: the same test fails the same way without it, and D3D12.X: unpin retired split segments from alloc_pool and guard title_list::release ABA #1453 removes it (0 of 50 with D3D12.X: unpin retired split segments from alloc_pool and guard title_list::release ABA #1453).cargo test --workspace --no-fail-fast -- --test-threads=4(NVIDIA): 1,442 passed, 4 failed, 47 ignored, 26 SKIPPED. The 4 failures are the knownfuzz_validate_and_gpu_0..3(DXIL GPU fuzz tests reproducibly fail with E_OUTOFMEMORY on RTX 5060 #1905).Not tested
We would appreciate a run on another AMD GPU. In PowerShell, set
$env:XCL_NETWORK='0'; $env:XCL_ADAPTER='radeon'and runcargo +stable-x86_64-pc-windows-msvc test -p xcl --lib hle::d3d12x::list_x::tests:: -- --test-threads=4 --nocapture. Please include the adapter and WARP line, the test counts, and any failure output. On a hybrid machine, verify the reported adapter matches the requested GPU.Regression run
main:This PR (
0624a46e):Both: the retail title,
-Seconds 200, RTX 5090, a fresh copy of the same precompiled cache, the same warm exe name (this head first), quarter-size frame dumps, and the same input (Enter from 6 s after the first frame plus the legal-screen keys; noXCL_PRESS_AT). The change is test-only, so this is a regression check of the build.AI use
Codex (GPT-6.2-Sol) wrote the test-only helper and fixture changes. Codex (GPT-6.2-Sol) rebased the patch and drafted this description. Claude Code (Claude Opus 5.5) ran the validation above on both adapters and the smoke pair.
🤖 Generated with Claude Code
https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR