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

[LLVMGPU] Use flat workgroup sizes in vector distribution #18947

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

Groverkss
Copy link
Contributor

There is no reason for vector distribution to use this weird workgroup split. Use flat workgroup sizes in KernelConfig instead.

@raikonenfnu
Copy link
Collaborator

Just adding info from offline chat with Kunwar, we can get away with not explicitly delinearized workgroup since vector distribution already does some delinearization.

@Groverkss Groverkss merged commit 53813e8 into iree-org:main Oct 30, 2024
36 checks passed
Copy link
Member

@kuhar kuhar left a comment

Choose a reason for hiding this comment

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

Regardless of whether this should be the default heuristic or not, we should either keep some tests making sure non-flat workgroup sizes continue working or add a verifier to disallow it.

@Groverkss could you please submit a follow up PR for this?

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.

5 participants