Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use minSubgroupSize, maxSubgroupSize from GPUAdapterInfo #4058

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dneto0
Copy link
Contributor

@dneto0 dneto0 commented Nov 22, 2024

gpuweb/gpuweb#4963 defines how to get minSubgroupSize, maxSubgroupSize.
It's now from GPUAdapterInfo.

@dneto0
Copy link
Contributor Author

dneto0 commented Nov 22, 2024

I tested this locally with dawn.node

@dneto0
Copy link
Contributor Author

dneto0 commented Nov 22, 2024

This should wait until corresponding changes land in Dawn and Chrome.
https://crbug.com/354751907

@alan-baker
Copy link
Contributor

Note: the spec now specifies default values so there should be an API side test for when the feature isn't supported.

@alan-baker
Copy link
Contributor

Another use was added to subgroupBroadcast.spec.ts via #4069 .

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.

2 participants