-
Notifications
You must be signed in to change notification settings - Fork 49
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
Implementing lowering for calls #164
Conversation
parsifal-47
commented
Aug 15, 2024
- removing the assertion which disallowed tensors of 1x1, I do not see why it was set, it seems that removing does not produce an error, let me know what you think. Thank you!
@nhat-nguyen please take a look when you have a chance, thank you! |
sure, give me some time to double check that removing the assert is ok |
great, no rush, thank you! |
@nhat-nguyen could you please take a look when you have a chance |
include/triton-shared/Conversion/TritonArithToLinalg/ConversionPatterns.hpp
Outdated
Show resolved
Hide resolved
include/triton-shared/Conversion/TritonArithToLinalg/ConversionPatterns.hpp
Outdated
Show resolved
Hide resolved
include/triton-shared/Conversion/TritonArithToLinalg/ConversionPatterns.hpp
Show resolved
Hide resolved
ed90909
to
0121084
Compare
@nhat-nguyen your comments for this PR should be resolved, thank you for reviewing! |
if (argsNeed > args.size()) { | ||
int missing = argsNeed - args.size(); | ||
for (int i = 0; i < missing; i++) { | ||
args.push_back(parentInputs[parentInputs.size() - i - 1]); |
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.
Hi parsifal, I wonder why the extra arguments are added in reverse order here. Six extra arguments are added by addProgramInfo, and here you add the sixth firstly, and the first finally. Why is the case?
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.
Hi, thank you for noticing! I do not see any reason for them to be reversed, and I looked at lit test, it clearly shows that they getting backwards, let me fix that quickly
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.
Thank you @Bolzano983
#200