Skip to content

Commit

Permalink
fix rpc server bug on VTA (#5607)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoreau89 authored May 16, 2020
1 parent ce3f73d commit 63f84a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/modules/VTA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ elseif(PYTHON)

# VTA FPGA driver sources
if(USE_VTA_FPGA)
file(GLOB FSIM_RUNTIME_SRCS ${VTA_HW_PATH}/src/*.cc)
file(GLOB FPGA_RUNTIME_SRCS vta/runtime/*.cc)
# Rules for Zynq-class FPGAs with pynq OS support (see pynq.io)
if(${VTA_TARGET} STREQUAL "pynq" OR
Expand Down
2 changes: 1 addition & 1 deletion vta/python/vta/exec/rpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def server_start():
os.path.abspath(os.path.expanduser(__file__)))
proj_root = os.path.abspath(os.path.join(curr_path, "../../../../"))
dll_path = find_libvta("libvta")[0]
cfg_path = os.path.abspath(os.path.join(proj_root, "build/vta_config.json"))
cfg_path = os.path.abspath(os.path.join(proj_root, "3rdparty/vta-hw/config/vta_config.json"))
runtime_dll = []
_load_module = tvm.get_global_func("tvm.rpc.server.load_module")

Expand Down

0 comments on commit 63f84a1

Please sign in to comment.