GPU: distinguish processor groups in frame diagnostics #929

Open
avt0m4t48 wants to merge 1 commit from upstream-pr/930 into main
avt0m4t48 commented 2026-11-25 13:03:27 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T13:03:27Z.


Frame diagnostics now identify a Windows logical processor by its group and number. A sample from group 2 previously used the same index into the group 0 classification, which can label a fast core as slow. The frame log uses one mask per group, and the affinity helpers explicitly request group 0. Windows processor-number API

The regression covers groups with the same logical number but different efficiency classes, a missing group, and logical processor 63. All five frame-log tests passed on Windows. The group layout in the regression is synthetic. The MSVC-target Rust check and asset policy passed locally. Windows run

AI-assisted using Codex.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6605107925 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/930). Originally posted by [avt0m4t48](https://github.com/avt0m4t48) on 2026-11-25T13:03:27Z. --- Frame diagnostics now identify a Windows logical processor by its group and number. A sample from group 2 previously used the same index into the group 0 classification, which can label a fast core as slow. The frame log uses one mask per group, and the affinity helpers explicitly request group 0. [Windows processor-number API](https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocessornumberex) The regression covers groups with the same logical number but different efficiency classes, a missing group, and logical processor 63. All five frame-log tests passed on Windows. The group layout in the regression is synthetic. The MSVC-target Rust check and asset policy passed locally. [Windows run](https://github.com/avt0m4t48/victory-fork/actions/runs/45618776674) AI-assisted using Codex.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/930:upstream-pr/930'
git switch 'upstream-pr/930'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/930'
git switch 'upstream-pr/930'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/930'
git switch 'upstream-pr/930'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/930'
git switch 'main'
git merge --squash 'upstream-pr/930'
git switch 'main'
git merge --ff-only 'upstream-pr/930'
git switch 'main'
git merge 'upstream-pr/930'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!929
No description provided.