There are a couple of different targets that output something so similar to C
(e.g. CUDA, OpenCL) that some some of the functionality was extracted into a
common superclass, `CodeGenC`. When you specify `target="c"`, it uses
`CodeGenCHost` in `codegen_c_host.cc`. You might look at that for mor
try target="c". dont know if the code generated would work though
---
[Visit
Topic](https://discuss.tvm.apache.org/t/generate-native-c-code-from-tvm-ir/11792/3)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https
I think "native C-code generation" is used for more niche use cases like
micro-TVM / embedded, but yes, we don't typically emit native C code for
convolution kernels etc.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/generate-native-c-code-from-tvm-ir/11792/2)
to respond.
You are r
Hi All, When I approach the class `CodeGenC` in `src/target/source/codegen_c.h`
I notice it could not generate native C code as it is noted.
> CodeGenC does not aim at generating C codes consumed by MSVC or GCC, Rather,
> it's providing infrastructural abstraction for C variants like CUDA and