Repository navigation
Conversation
|
AMD run as asked, on a two-GPU PC (RX 9070 XT + RTX 3060), so the adapter check is a real one. Tested: pass, head
On this hybrid machine the reported adapter matched the request both times, the lowercase Not tested: Intel, a WARP-only machine, release. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report. |
0624a46 to
d32774f
Compare
d32774f to
795e401
Compare
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)
795e401 to
4a9158b
Compare
|
No open or merged PR makes the same change. #2337 and #2879 apply the same idea to other files ( AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
merge-check
|
The list_x GPU tests made their devices on the default adapter (
D3D12CreateDevice(None),agility::create_device(None)): on a machine with two GPUs they ran on whichever the system picked, whateverXCL_ADAPTERsaid. They now sharefixture_device(), which takes the adapterXCL_ADAPTERselects (gpu::adapter), falls back to WARP when it is unset and no hardware adapter is there (an adapter it names that is not there is a skip), prints the adapter it used once per run, and skips the test when it cannot make a device.What is in it (one commit,
hle/d3d12x/list_x.rs, tests only)fixture_device()and every list_x test that made a device on the default adapter, including the three main added after the first version of this PR:a_title_fence_wait_an_earlier_signal_covers_is_no_cycle,put_off_riganda_split_after_kickoff_does_not_take_the_segment_just_submitted...._on_the_software_adapterand the WARP-only fixture) keep their WARP device.#[cfg(test)]module.scripts/pr_check.pycountslist_x.rsas a runtime file all the same, so this PR needs the maintainer'stest-onlylabel (CONTRIBUTING, point 3) in place of a smoke pair.Tested
4a9158b8914b0f3e7cc0845c276b7f4c20b41a7d: workspace suite build exit 0; 2,877 passed, 6 failed, 51 ignored. The six VM-known failures weregpu_direct_image_get_resinfo_d16,placed_title_textures_share_vram_and_preserve_pixels, the threestream_recheck_*follow-on tests, andtest_title_runs_and_game_folder_is_untouched(e2e: Invalid bitcode signature). The 5090 smoke pair is below. Earlier detailed test results are from795e4017.53e85fb1(this head795e4017; the previous headd32774f3was on mainfa204595). The PR checks' earlier failures were 4pipeline_library/warm_librarytests of that older base, which pass on53e85fb1.795e4017:cargo test -p xcl --lib --no-run, debug and release: both build.cargo test -p xcl --lib -- list_x --nocapture --test-threads=1: 113 passed, 0 failed, 0 ignored, 2570 filtered out. The fixture printedlist_x fixture adapter: NVIDIA GeForce RTX 3090; WARP=false.cargo test --workspace --no-fail-fast -- --test-threads=4: the lib binary was killed (STATUS_ACCESS_VIOLATION) whilegpu::agility::tests::create_device_sets_dred_first,gpu::bvh::tests::scene_trace_matches_brute_forceandgpu::dxil::compact_tests::a_large_program_that_repeats_itself_takes_the_compact_formran: main's own (mainfa204595was killed the same way on this machine, with the same three running). The other binaries: 138 passed, 1 failed, 20 ignored (the e2e failure below). The lib binary rerun on 1 thread (--skip uma_driver::tests, all 8 of them): 2641 passed, 5 failed, 29 ignored, the same lib tests as main (2641 + 5 + 29 + 8 = 2683). SKIPPED in that run's output: 14 (8 no wave64, 3 no debug layer, 2 refused per-lane forms, 1 no heap windows); the killed run's are not in it.53e85fb1on the same machine: 2784 passed, 6 failed, 49 ignored, 31 SKIPPED. The 6 are main's own:title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels, the 3stream_recheck_*tests,standin::tests::concurrent_shell_miss_reuses_winner_and_releases_loser_pipeline(main's test does not count the stand-in pipeline's deferred release, Related: Tests: account for deferred stand-in pipeline release #3484), e2etest_title_runs_and_game_folder_is_untouched. The lib failures here are those 5; e2e fails as on main.XCL_ADAPTER.Regression run
main-full-d8bd), the same frozen accepted-terms profile (r18-terms:gamesaveandpls/settings), and held Enter. The blocks below are copied verbatim from the rig script's report.Main
9dfbe3ea:This head
4a9158b8:Not tested
alloc_pool.rshas three) are not part of this PR.AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR