Recently I started to use TVM and recently gradually get to be used to using this project in python. On the other hand, in order to go to next step, I just want to understand the actual implementation of this framework such as how the executable libraries are generated, how to expand Halide IR inside and etc… In this way, I feel it would be better for me to use it from C++ because I can follow the code one by one, by using debugger, whereas it’s difficult to inspect the implementation from python due to the FFI. therefore, I’m looking for the C++ API now.
I found this post, and this is actually what I wanna know (sorry for it’s in japanese, but you can see the code)
however this sample codes might be already old, since it’s not compilable anymore. Now I have only an idea to get the information of what I desire is looking over the header files like tvm/tvm.h or tvm/build_module.h.
Is there any document about the C++ API usage??, and if you’d like, please tell me what is your best way to learn TVM’s actual implementation.