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

#1 ---[Fix] Global emission uses malloc when returned by a function #443

Merged
merged 53 commits into from
Dec 9, 2020

Conversation

doru1004
Copy link
Collaborator

@doru1004 doru1004 commented Dec 9, 2020

This patch returns the result of a malloc when global value is returned.

doru1004 added 30 commits March 23, 2020 16:15
@doru1004 doru1004 changed the title Fix global emission when value is returned [Fix] Global emission uses malloc when returned by a function Dec 9, 2020
Copy link
Collaborator

@chentong319 chentong319 left a comment

Choose a reason for hiding this comment

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

Can you enable the test for SizeOp in backend (uncomment line 573 in test/backend/test.py)? This patch should make these test go through. Otherwise, the patch is good.

@doru1004
Copy link
Collaborator Author

doru1004 commented Dec 9, 2020

Can you enable the test for SizeOp in backend (uncomment line 573 in test/backend/test.py)? This patch should make these test go through. Otherwise, the patch is good.

Just enabled them.

@AlexandreEichenberger AlexandreEichenberger changed the title [Fix] Global emission uses malloc when returned by a function #1 ---[Fix] Global emission uses malloc when returned by a function Dec 9, 2020
@chentong319 chentong319 merged commit 9011ba7 into onnx:master Dec 9, 2020
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.

2 participants