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

[GPU] Add workgroup/subgroup scope specification to mma attr interface #18548

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

Conversation

Max191
Copy link
Contributor

@Max191 Max191 commented Sep 18, 2024

The new DataTiledMMAAttr represents the workload of a full workgroup, while the regular MMAAttr represents the workload of a single subgroup. The scope of the workload is needed when distributing multi_mma ops to threads/lanes.

This PR adds an interface function to the MMAAttr interface to return the scope of the attribute's workload, as a new IREE::GPU::MMAScope enum. The data tiled attribute returns IREE::GPU::MMAScope::Workgroup, and the normal MMAAttr returns IREE::GPU::MMAScope:Subgroup.

Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
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.

1 participant