-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add support for smem_epilogue when mma output is not cast to half #3620
Conversation
!test |
!test |
1 similar comment
!test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor Follow-Up Proposal:
It looks like scheduleEpilogue
could be broken easily into two functions for readability instead of a single monolithic function.
void HopperMultipleMatmulScheduler::scheduleEpilogueWithVectorization() {}
void HopperMultipleMatmulScheduler::scheduleSmemEpilogue() {}
void HopperMultipleMatmulScheduler::scheduleEpilogue() {
if (!params_->use_smem_epilogue) {
scheduleEpilogueWithVectorization();
} else {
// Use stmatrix (optional) and tma store
scheduleSmemEpilogue();
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
!test |
4 similar comments
!test |
!test |
!test |
!test |
a3f138a
to
494aea7
Compare
!test |
!test |
Support non-stmatrix stores from regs to shared memory and then TMA when the output of mma op is not cast back to half precision - stmatrix works with half precision only.