Repository navigation
fix(tests): honor ANYPS5_GPU in BDA device fixture - #8167
Conversation
9eaf964 to
8c301fb
Compare
|
@MarcZX10 retested your updated exact head Fresh focused fixture/dependency build and targeted retest, without local changes:
These are 9 verified GPU executions (6 NVIDIA, 3 AMD), 3 CPU-only passes and 6 expected rejections on the new head. Hardware/driver/OS are unchanged from below. I retained the existing main/8c comparison rather than rerunning unaffected selector behavior; this is not a new current-main comparison, full default build, full suite, Linux, title or performance claim. Prior exact8c versus mainb509 comparison (historical pins)@MarcZX10 independently validated exact head Windows 11 Enterprise 26200, WinLibs GCC 15.2 r7; NVIDIA RTX 5080 driver 610.62 / 32.0.16.1062 and AMD Radeon(TM) Graphics driver 32.0.21036.18; Khronos validation 1.4.363.0. Tested 2026-10-20. Each common case ran
All 12 common CTests pass on each pin; the six AMD/mixed-name main passes do not establish AMD coverage. Three direct unmatched-name controls incorrectly succeed on main and correctly exit 1 on this head when Vulkan is required. Additional PR-only empty-name controls pass 3/3 on NVIDIA. Thus this head has 15 verified GPU executions: 9 NVIDIA, 6 AMD, plus the three expected rejections. No new VUIDs, validation errors/warnings, timeouts or unexpected skips in that selection. Cppcheck and clang-tidy on this head's The optional-Vulkan unmatched-name request returned 77 in 3/3 controls on this older8c head. Resolved by3bac and retested above. Our independently prepared reference commit remains on the fork; no duplicate PR will be opened. Focused Windows fixture validation only; full default build, full suite, Linux, title and performance results are not claimed. Your CPU selector checks run inside the fixture; they are not counted as extra CPU-only processes here. AI-assisted: yes (Codex); author responsible. |
|
Thanks for the Windows multi-GPU validation and for catching the optional-Vulkan unmatched-name case. I pushed a follow-up commit at |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Manual overlap check for #8206: both PRs add a separate CTest registration in |
What
The BDA test fixture now honors the existing
ANYPS5_GPUname-selection rules, prints the selected device, and reports the requested name plus enumerated Vulkan 1.1 device names when there is no match. A nonempty GPU request remains a hard failure even when Vulkan is otherwise optional; an unavailable Vulkan device is still skippable when there is no request and Vulkan is not required.The selector regression tests cover default discrete-first ranking, vendor selection, case-insensitive partial names, no match, and Vulkan 1.0 rejection. CPU tests also cover the optional-Vulkan skip policy. The three commits separate the test, selector implementation, and unmatched-request skip fix.
Tested
BdaDevice.cppC++20 syntax check: passed.deviceSelectionTests()compiled and run from the actualBdaDevice.cppin a temporary Linux CPU harness: passed, including requested-GPU skip-policy cases.python3 tools/check_conventions.py --base upstream/mainandgit diff upstream/main...HEAD --check: passed.8c301fb5c75d80544cb779a1c4e456667cbe4cd0) on Windows 11 with an RTX 5080 and AMD Radeon GPU, confirming device selection and identifying the optional-Vulkan unmatched-name case. The new skip-policy commit has not been rerun on hardware.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository