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

Implementing lowering for calls #164

Merged
merged 2 commits into from
Nov 29, 2024
Merged

Conversation

parsifal-47
Copy link
Contributor

  • 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!

@parsifal-47
Copy link
Contributor Author

@nhat-nguyen please take a look when you have a chance, thank you!

@nhat-nguyen
Copy link
Collaborator

sure, give me some time to double check that removing the assert is ok

@parsifal-47
Copy link
Contributor Author

sure, give me some time to double check that removing the assert is ok

great, no rush, thank you!

@parsifal-47
Copy link
Contributor Author

@nhat-nguyen could you please take a look when you have a chance

@parsifal-47
Copy link
Contributor Author

@nhat-nguyen your comments for this PR should be resolved, thank you for reviewing!

@nhat-nguyen nhat-nguyen merged commit 6aa82f1 into microsoft:main Nov 29, 2024
3 checks passed
if (argsNeed > args.size()) {
int missing = argsNeed - args.size();
for (int i = 0; i < missing; i++) {
args.push_back(parentInputs[parentInputs.size() - i - 1]);

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Bolzano983
#200

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.

3 participants