Repository navigation
Scripts: smoke.ps1 names the adapter XCL ran on, from report.json - #281
Closed
grahamster2 wants to merge 1 commit into
Closed
grahamster2 wants to merge 1 commit into
grahamster2 wants to merge 1 commit into
Conversation
The gpu line took the first Win32_VideoController that is not the basic display adapter. On a machine with an iGPU and a discrete GPU that is often the iGPU: on an RTX 3080 + AMD RDNA2 iGPU machine the block said "AMD Radeon(TM) Graphics" while XCL ran on the RTX 3080. The line now comes from d3d12.adapter in the run's report.json (next to the log; XCL removes the previous run's report at start), without the VRAM suffix. The Win32 query stays as the fallback when the report or the field is missing.
Owner
|
Merged into a6f5f7a by cherry-pick together with #318 - thanks! Checked on an RX 9070 (RDNA4) on main a6f5f7a, together with #335, #322, #331, #330, #338, #318 and #332: |
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.
smoke.ps1'sgpu:line took the firstWin32_VideoControllerthat is not the basic display adapter. On a machine with an iGPU next to a discrete GPU that is often the iGPU, so thexcl-smokeblock names hardware the run did not use: on an RTX 3080 + AMD RDNA2 iGPU machine it saidAMD Radeon(TM) Graphicswhile XCL ran on the RTX 3080. The line now comes fromd3d12.adapterin the run'sreport.json, with the Win32 query kept as the fallback.What is in it
scripts/smoke.ps1: readd3d12.adapterfromreport.jsonnext to the run's log (XCL moves the previous run's report toreport.prev.jsonat start, so a stale one is not read) and drop its(N MiB VRAM)suffix; fall back to the oldWin32_VideoControllerquery when the report or the field is missing.Tested
cargo test --workspace -- --test-threads=4: 651 passed, 0 failed, 40 ignoredgpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64)scripts/smoke.ps1 -Game <retail title>at 9ab7d76: before,gpu: AMD Radeon(TM) Graphics; with this change,gpu: NVIDIA GeForce RTX 3080(XCL's log:backend 'real' – NVIDIA GeForce RTX 3080)report.json: the old Win32 nameRegression run
scripts/only,crates/xcl/srcis untouched.Not tested
AI use