Skip to content

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
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.
@tqchen tqchen deleted the string-abi branch February 15, 2025 14:19
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