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

[REFACTOR][RUNTIME] LibraryModule that merges systemlib and dso #4481

Merged
merged 1 commit into from
Dec 9, 2019

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Dec 8, 2019

Historically we have two variations of modules(DSOModule and SystemLibModule)
that both exposes module via symbols.

This PR creates a common implementation for both, and introduce a Library
base class that allows us to have different implementations of GetSymbol.

It paves ways for future library related module enhancements.

@tqchen
Copy link
Member Author

tqchen commented Dec 8, 2019

cc @FrozenGene @ZihengJiang @icemelon9 @yzhliu @ajtulloch

Historically we have two variations of modules(DSOModule and SystemLibModule)
that both exposes module via symbols.

This PR creates a common implementation for both, and introduce a Library
base class that allows us to have different implementations of GetSymbol.

It paves ways for future library related module enhancements.
Copy link
Member

@zhiics zhiics left a comment

Choose a reason for hiding this comment

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

LGTM

@tqchen tqchen merged commit 203d2c9 into apache:master Dec 9, 2019
@ajtulloch
Copy link
Contributor

LGTM, thanks @tqchen

zxy844288792 pushed a commit to zxy844288792/tvm that referenced this pull request Dec 13, 2019
…pache#4481)

Historically we have two variations of modules(DSOModule and SystemLibModule)
that both exposes module via symbols.

This PR creates a common implementation for both, and introduce a Library
base class that allows us to have different implementations of GetSymbol.

It paves ways for future library related module enhancements.
zxy844288792 pushed a commit to neo-ai/tvm that referenced this pull request Dec 13, 2019
…pache#4481)

Historically we have two variations of modules(DSOModule and SystemLibModule)
that both exposes module via symbols.

This PR creates a common implementation for both, and introduce a Library
base class that allows us to have different implementations of GetSymbol.

It paves ways for future library related module enhancements.
@tqchen tqchen deleted the lib branch December 23, 2019 23:40
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