OLD-9881: subgroup_size: reject half-zero and invalid subgroup size ranges #1651

Open
github-bot wants to merge 1 commit from github-bot/gh-1651 into main AGit
Owner

@⁠Tortoche on GitHub · 2026-11-25 07:05 UTC · original
Tortoche:old-9881 → main · +75 −4 · 2 files · 1 commits · open

Claim: #1581 (OLD-9881 / Draft #148, originally authored by ChAlanA)

Summary:

  • Rejects half-zero and invalid subgroup size ranges in ().
  • Adds unit tests in .

Verification (Linux):

  • -> OK
  • [100%] Built target subgroup_size_test -> OK
  • subgroup size decision: AMD-like, NVIDIA-like, old RADV, limits, create-info chain and query OK ->

AI-assisted: yes

**@⁠Tortoche** on GitHub · 2026-11-25 07:05 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1651) `Tortoche:old-9881` → `main` · +75 −4 · 2 files · 1 commits · open Claim: #1581 (OLD-9881 / Draft #148, originally authored by ChAlanA) Summary: - Rejects half-zero and invalid subgroup size ranges in (). - Adds unit tests in . Verification (Linux): - -> OK - [100%] Built target subgroup_size_test -> OK - subgroup size decision: AMD-like, NVIDIA-like, old RADV, limits, create-info chain and query OK -> AI-assisted: yes
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:59:29 +00:00
Author
Owner

@⁠whoalin1 on GitHub · 2026-11-25 09:52 UTC · original

Independent verification (native Windows): subgroup_size_test.exe prints the claimed line verbatim, rc=0; ctest -R subgroup_size 1/1; d3d12_vulkan_device_test rebuilds clean. Logic closes a real hole — min_size=0 previously allowed wanted ∈ [0,64] chaining requiredSubgroupSize against VUID -02761. GPU smoke (--filter wavemask): NVIDIA skip (no 64-wide subgroup, expected), AMD pass. Authorship preserved (ChAlanA). AI-assisted verification.

**@⁠whoalin1** on GitHub · 2026-11-25 09:52 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1651#issuecomment-7158925825) Independent verification (native Windows): `subgroup_size_test.exe` prints the claimed line verbatim, rc=0; `ctest -R subgroup_size` 1/1; `d3d12_vulkan_device_test` rebuilds clean. Logic closes a real hole — `min_size=0` previously allowed `wanted ∈ [0,64]` chaining `requiredSubgroupSize` against VUID -02761. GPU smoke (`--filter wavemask`): NVIDIA skip (no 64-wide subgroup, expected), AMD pass. Authorship preserved (ChAlanA). AI-assisted verification.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1651/head:github-bot/gh-1651'
git switch 'github-bot/gh-1651'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1651'
git switch 'github-bot/gh-1651'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1651'
git switch 'github-bot/gh-1651'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1651'
git switch 'main'
git merge --squash 'github-bot/gh-1651'
git switch 'main'
git merge --ff-only 'github-bot/gh-1651'
git switch 'main'
git merge 'github-bot/gh-1651'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.