Skip to content

Conversation

@cwfitzgerald
Copy link
Member

Connections

Closes #8346

Description

Moved things over, as well as fix a few minor things in wgpu-info.

I have updated the defaults to the values specified by the WebGPU spec.

Testing

CI

Squash or Rebase?

Squash

@ErichDonGubler ErichDonGubler self-assigned this Dec 3, 2025
@cwfitzgerald cwfitzgerald changed the title Move subgroup size info to AdapterInfo Move subgroup size handling in line with spec Dec 3, 2025
///
/// See <https://gpuweb.github.io/gpuweb/#gpuadapterinfo>
/// where you can always use these values on all devices.
pub const MAXIMUM_SUBGROUP_MAX_SIZE: u32 = 128;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Is it possible to use more than this on some machines? If so, do we have any follow-up work for permitting larger groups?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No - the max observed subgroup size in the wild is 128 on qualcomm chips (and WARP). Similarly WARP supports the same range (4 to 128) so you can test with the full range of subgroups in the wild.

Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for merging. I have an open question, but I'm trusting this will get resolved either at or after merge.

@cwfitzgerald cwfitzgerald enabled auto-merge (squash) December 4, 2025 16:44
@cwfitzgerald cwfitzgerald merged commit 9a41de4 into gfx-rs:trunk Dec 4, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Min/max subgroup size should be adapter properties not limits

3 participants