You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tvm.apache.org by Jian Weng via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/04/14 00:13:35 UTC

[Apache TVM Discuss] [Development] Do we have a C host?


I know TVM can easily invoke a compiled kernel from Python.
I want to export the .o file and integrate it to a C/C++ binary.
Is there any existing SDK to do that? If not I am willing to contribute one.





---
[Visit Topic](https://discuss.tvm.apache.org/t/do-we-have-a-c-host/9687/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/8d57a66b33c622304134c0fd0b52bf2185d622935bf0c0696e9ea2b160c1a6e3).

[Apache TVM Discuss] [Development] Do we have a C host?

Posted by Jian Weng via Apache TVM Discuss <no...@discuss.tvm.ai>.

Maybe let me make my question clearer?

I am working on some cross-compilation work and the kernel is gonna be integrated to a C/C++ project.

An ideal interface that generates the kernel for me should be a pair of (.o, .h).

Even more aggressively, I want a pair of (.ll, .h) since I want to run some customized passes on the generated LLVM IR.





---
[Visit Topic](https://discuss.tvm.apache.org/t/do-we-have-a-c-host/9687/3) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/ed60f7ec6a668f92536bf159d17ad1cae58e4ab51e84fb4659e2b42c5579ea9d).

[Apache TVM Discuss] [Development] Do we have a C host?

Posted by Eye via Apache TVM Discuss <no...@discuss.tvm.ai>.

1. [cpp_deploy](https://github.com/apache/tvm/blob/main/apps/howto_deploy/cpp_deploy.cc)

2. [c_runtime_api.h](https://github.com/apache/tvm/blob/main/include/tvm/runtime/c_runtime_api.h)

3. [bundle_deploy](https://github.com/apache/tvm/tree/main/apps/bundle_deploy)





---
[Visit Topic](https://discuss.tvm.apache.org/t/do-we-have-a-c-host/9687/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/f6993c624f73b738b3eaa44fb36309172596f4af7b980ef766d2dcb5aa3dca2a).