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][Target] Add C module for host #17704

Closed
wants to merge 1 commit into from

Conversation

Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Mar 4, 2025

This PR adds a C host module for simple host tasks without LLVM dependency. LLVM dependency is one of the most troublesome for TVM distribution, while it's not necessary for simple host tasks.

This PR plays a role as the first step towards the goal by supporting the c runtime.

cc @LeiWang1999 @tqchen

This PR adds a C host module for simple host tasks without LLVM dependency.
LLVM dependency is one of the most troublesome for TVM distribution, while
it's not necessary for simple host tasks.

This PR plays a role as the first step towards the goal by supporting
the c runtime.
@github-actions github-actions bot requested a review from tqchen March 4, 2025 10:09
@Hzfengsy Hzfengsy changed the title [Runtime][Target] Add C host module for host [Runtime][Target] Add C module for host Mar 4, 2025
@tqchen
Copy link
Member

tqchen commented Mar 4, 2025

thanks @Hzfengsy , just want to also cross link the executable intetface here https://discuss.tvm.apache.org/t/unified-python-first-compilation-flow-through-tvm-compile/18096 which should in theory help us to directly leverage the original c source module, and the jit happens during executable.jit, would be good if we can consolidate toward that approach

@Hzfengsy
Copy link
Member Author

Hzfengsy commented Mar 8, 2025

Close it as #17710 and interface tvm.compile could handle c host as a more generic way.

@Hzfengsy Hzfengsy closed this Mar 8, 2025
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.

2 participants