C/C++ runtime support

Hi,
I’m generating code with target=“c” and I can obtain the lowered C code but is there a way to create a runtime that supports this code? I get the following error.
TVMError: C Source module cannot execute, to get executable module build TVM with 'c' runtime support

Is there a TVM build option where I can enable this feature?

Thanks,

Hi I am trying to do the same thing, could you please share your basic demo so that we can figure out together ?

hi @huangteng @trusira,

if you want to run the model standalone from TVM, please take a look at the example in apps/bundle_deploy which uses the c backend. I think you can also compile C source modules from within TVM by specifying fcompile to export_library.

andrew