-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fix the transpose scheduler for DID loop split. #3927
base: wjy/rfactor
Are you sure you want to change the base?
Conversation
!test |
Review updated until commit c43d5e1 Description
Changes walkthrough 📝
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
!test |
Co-authored-by: Naoya Maruyama <[email protected]>
!test --diff |
The codegen diff is expected -- this PR changed the test. |
scheduler_utils::splitDims(reference1, tparams->split_before_tiling); | ||
scheduler_utils::splitDims( | ||
reference1, tparams->split_before_tiling, to_update); | ||
inner_most_pos1_in_ref1 = to_update[0]; |
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.
Is this change a general bug fix not specific to DID?
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.
I think it's a bug triggered by DID loop split. According to #3927 (comment), inner_most_pos1_in_ref1 and inner_most_pos2_in_ref2 ought to be loop axis but is misused to access getLogicalDomain() in getVectorizationFactorTransposeGroup. Therefore, I also made this change: https://github.com/NVIDIA/Fuser/pull/3927/files#diff-364f51b47b1cf80c14b75d95ac2882238a65aa0594d588cff2fc54526307ca55L941
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.
I see. Looks like it was fine before because logical == loop
. The change here makes sense.
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.
The change looks good to me. I'll let @zasdfgbnm to confirm.
@zasdfgbnm Could you take a look as well?
For #2563