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

[WIP] Accept Hopper matmuls and update default heuristic #3579

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

Conversation

jacobhinkle
Copy link
Collaborator

No description provided.

jacobhinkle added a commit that referenced this pull request Dec 16, 2024
This enables Hopper matmul in our automatic scheduler by translating
them without introducing new broadcasts. Specifically:

1. Update `mma_utils::MatmulPattern::translateToMmaOp` to optionally
avoid intermediates by using an `MmaOp::AxisMapping`. Enable this option
when the target arch is not Ampere or Turing.
3. Unguard some tests in `test_translate_mma.cpp`

This does not update the default heuristic or change the `canSchedule`
checks. See #3579 for that follow-up PR

---------

Co-authored-by: Ryan Spring <[email protected]>
Co-authored-by: Naoya Maruyama <[email protected]>
Co-authored-by: Jingyue Wu <[email protected]>
Co-authored-by: nsarka <[email protected]>
Co-authored-by: Protonu <[email protected]>
Co-authored-by: samnordmann <[email protected]>
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