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] Update Module and Registry to use String Container #14902

Merged
merged 2 commits into from
May 31, 2023

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented May 21, 2023

This PR updates the Module and Registry's DLL function to use String container instead of std::string.

While it is impossible(and un-necessary) to obtain a stable ABI due to the nature of c++, it is helpful to keep small set of tvm/runtime functions to work with use a String so it is more stable across compilers.

This PR updates the Module and Registry's DLL function
to use String container instead of std::string.

While it is impossible to obtain a stable ABI due to the nature
of c++, and it is important to keep that flexibility,
it is helpful to keep small set of tvm/runtime functions to
work with use a String so it is more stable across compilers.
@tvm-bot
Copy link
Collaborator

tvm-bot commented May 21, 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

@tqchen
Copy link
Member Author

tqchen commented May 30, 2023

@tvm-bot rerun

@junrushao junrushao merged commit 443fa20 into apache:main May 31, 2023
18 checks passed
mei-ye pushed a commit to mei-ye/tvm that referenced this pull request Jun 1, 2023
…14902)

This PR updates the Module and Registry's DLL function
to use String container instead of std::string.

While it is impossible to obtain a stable ABI due to the nature
of c++, and it is important to keep that flexibility,
it is helpful to keep small set of tvm/runtime functions to
work with use a String so it is more stable across compilers.
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.

None yet

3 participants