Hi all, I have a question regarding the RPC tutorial. I’ve got a TVM runtime built and running on my Hexagon DSP target, but I’m unclear on how to build and configure LLVM/TVM for the host machine in order to cross-compile kernels.
Am I supposed to build TVM using my target’s cross compiler or the host (x86) compiler? When I build with the former I get ELF errors when importing TVM, and I get ‘target not enabled’ errors when I do the latter.
For reference, I’m part of the team at Qualcomm working on the Hexagon backend, and my target is specified as ‘hexagon-unknown-elf -mcpu=hexagonv60 -mattr=+hvx,+hvx-length64b -mattr=-small-data’ when I run TVM entirely on the target. I’m trying to run the Cross Compilation and RPC tutorial found here: