First thanks for the great repo. I follow the toturail to compile tvm repo to support VTA accelerator. After the compilation, I tried to run matrix_multiply.py but I ran to the following error:
tvm._ffi.base.TVMError: Traceback (most recent call last):
[bt] (8) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCSession::ServerLoop()+0x104) [0x7fb113099c]
[bt] (7) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCSession::HandleUntilReturnEvent(tvm::runtime::TVMRetValue*, bool, tvm::runtime::PackedFunc const*)+0x1a0) [0x7fb1130678]
[bt] (6) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCSession::EventHandler::HandleNextEvent(tvm::runtime::TVMRetValue*, bool, tvm::runtime::PackedFunc const*)+0x574) [0x7fb113682c]
[bt] (5) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCSession::EventHandler::HandleRecvPackedSeqArg()+0x14c) [0x7fb1135c64]
[bt] (4) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCSession::EventHandler::SwitchToState(tvm::runtime::RPCSession::EventHandler::State)+0x320) [0x7fb1134b70]
[bt] (3) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCSession::EventHandler::HandlePackedCall()+0x678) [0x7fb112fdb0]
[bt] (2) /home/xilinx/tvm/build/libtvm.so(void tvm::runtime::RPCSession::EventHandler::CallHandler<void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>(void (*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*))+0x7c) [0x7fb113445c]
[bt] (1) /home/xilinx/tvm/build/libtvm.so(tvm::runtime::RPCModuleLoad(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)+0xb8) [0x7fb112ef78]
[bt] (0) /home/xilinx/tvm/build/libtvm.so(+0xae91a0) [0x7fb10d01a0]
File "/home/xilinx/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 78, in cfun
rv = local_pyfunc(*pyargs)
File "/home/xilinx/tvm/vta/python/vta/exec/rpc_server.py", line 59, in load_module
load_vta_dll()
File "/home/xilinx/tvm/vta/python/vta/exec/rpc_server.py", line 53, in load_vta_dll
runtime_dll.append(ctypes.CDLL(dll_path, ctypes.RTLD_GLOBAL))
File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
TVMError: Except caught from RPC call: OSError: /home/xilinx/tvm/vta/python/vta/../../../build/libvta.so: undefined symbol: VTAMemFree
On the host side, I used LLVM 9.0.0, and for the FPGA, I follow the documentation here: https://docs.tvm.ai/vta/install.html I am not sure what is the cause of the problem. Any help would be greatly appreciated.