Is there a ref C implementation for this interface (or tutorial)?
you mean this?
sorry, i need to correct my question.
I mean the c application that use this interface to load a compiled tvm module and infer.
Java JNI is the closest one I see as of now.
Wanted to check if there is any other.
I know this. It use only TVMArrayAlloc from that interface.
I use C API at work. From that header I only use TVMArrayAlloc, TVMArrayCopyFromBytes, and TVMArrayCopyToBytes. For doing inference these are sufficient.
Other functions are used by LLVM CPU host codegen. The C runtime functions are directly embedded in LLVM IR. See for example https://github.com/dmlc/tvm/blob/master/src/codegen/llvm/codegen_cpu.cc#L88
Thanks for the pointer. After some effort aroungd JNI reference I figured out the details now.