Skip to content

[RUNTIME] Update Module and Registry to use String Container - #14902

Merged
junrushao merged 2 commits into
apache:mainfrom
tqchen:string-abi
May 31, 2023
Merged

[RUNTIME] Update Module and Registry to use String Container#14902
junrushao merged 2 commits into
apache:mainfrom
tqchen:string-abi

Conversation

@tqchen

@tqchen tqchen commented May 21, 2023

Copy link
Copy Markdown
Member

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

tvm-bot commented May 21, 2023

Copy link
Copy Markdown
Collaborator

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

tqchen commented May 30, 2023

Copy link
Copy Markdown
Member Author

@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

3 participants