Hi, I’m trying to get stuff in this article to work: TVM open source compiler now includes initial support for Qualcomm Hexagon DSP.
I compiled the entire tvm according to the install process on the official website.
USE_HEXAGON_DEVICE in config.cmake is set to sim.
The build process is OK, but there is an error when calling the compiled function.
As sim_dev tries to open libtvm_runtime.so, I added the path of libtvm_runtime.so to ADSP_LIBRARY_PATH. I’m not sure if this is correct. The thing is, sim_dev can find libtvm_runtime.so but cannot open it. Then I found sim_dev was built to 32bit while libtvm_runtime.so was built to 64 bit.
I would like to know why this is happening and is there any way to compile it to 64bit？
The version of tvm I am using is 0.8 released on Github.