-
Notifications
You must be signed in to change notification settings - Fork 55
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
Wrap inline PTX as utility for Hopper matmul #3860
base: main
Are you sure you want to change the base?
Conversation
Review updated until commit fa55b99 Description
Changes walkthrough 📝
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
!test |
!test |
This PR is a followup of #3844 that further wraps all instructions used by Hopper matmul as utility functions. The trick here is some PTX instructions requires some operands to be immediate numbers, so it must be a template parameter instead of a function parameter, so I have to extend our current implementation of codegen for
kir::Asm
to support it.The
kir::Asm::AsmOptions
is extended with a new option specifying which input is always an immediate.Example kernel: