Hello everyone,

I've looked few related previous post, but I found few information, but I don't 
exactly find the answer to my question, so here it is.

In this article, [Bring Your Own Codegen To 
TVM](https://tvm.apache.org/docs/dev/relay_bring_your_own_codegen.html?highlight=codegen),
 explains how 
[codegen.cc](https://github.com/apache/incubator-tvm/blob/master/src/relay/backend/contrib/codegen_c/codegen.cc)
 does the C code generation.

I can add this line to  `test_target_codegen_c_host.py` to see the generated 
code, and I can check the generated cod by this line
`print(mhost.get_source())`

However the generated code doesn't seem like it is from `codegen.cc`.

So my question is what `target` should I put in `tvm.buil` to generate the C 
code from `codegen.cc` .

Thanks a lot.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-can-i-generated-c-code-from-codegen-cc/8002/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/e9540fb9f4a1623d932e1d253b10783b7fed92921f62a789f6c166122f9cd3a7).

Reply via email to