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

[Runtime] Fix Potential DeviceAPIManager Memory Bug #14114

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

Johnson9009
Copy link
Contributor

This PR do 2 things:

  1. Fix a potential memory bug, we meet this bug because our device type is greater than 32, so the cross-border access happened in device api manager code.

  2. Remove a useless decorator, it seems there isn't any code use it, and it will cause the Python function become as a packed function, so the caller can't use the key word argument when call it.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Feb 24, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@Johnson9009
Copy link
Contributor Author

@cconvey Please help to check 1, caused by your PR #13177.
@rafzi Please help to check 2, introduced by your PR #11882.

@tqchen tqchen merged commit 265bebf into apache:main Feb 24, 2023
@rafzi
Copy link
Contributor

rafzi commented Feb 24, 2023

@Johnson9009 Looks good, it seems like that was a misunderstanding I had about what the binding requires.

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.

4 participants