Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
dc5bdb6b
Commit
dc5bdb6b
authored
Apr 07, 2018
by
tqchen
Committed by
Tianqi Chen
Jul 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade TVM to latest version
parent
75ea6e45
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
vta/Makefile
+1
-1
vta/apps/pynq_rpc/start_rpc_server.sh
+1
-1
vta/examples/resnet18/pynq/imagenet_predict.py
+0
-1
vta/python/vta/build.py
+1
-1
No files found.
vta/Makefile
View file @
dc5bdb6b
...
@@ -58,7 +58,7 @@ VTA_LIB_SRC = $(wildcard src/*.cc src/tvm/*.cc)
...
@@ -58,7 +58,7 @@ VTA_LIB_SRC = $(wildcard src/*.cc src/tvm/*.cc)
ifeq
($(TARGET),
VTA_PYNQ_TARGET)
ifeq
($(TARGET),
VTA_PYNQ_TARGET)
VTA_LIB_SRC
+=
$
(
wildcard src/pynq/
*
.cc
)
VTA_LIB_SRC
+=
$
(
wildcard src/pynq/
*
.cc
)
LDFLAGS
+=
-L
/usr/lib
-lsds_lib
LDFLAGS
+=
-L
/usr/lib
-lsds_lib
LDFLAGS
+=
-L
/opt/python3.6/lib/python3.6/site-packages/pynq/
lib
/
-l
:libdma.so
LDFLAGS
+=
-L
/opt/python3.6/lib/python3.6/site-packages/pynq/
drivers
/
-l
:libdma.so
endif
endif
VTA_LIB_OBJ
=
$
(
patsubst %.cc, build/%.o,
$(VTA_LIB_SRC)
)
VTA_LIB_OBJ
=
$
(
patsubst %.cc, build/%.o,
$(VTA_LIB_SRC)
)
...
...
vta/apps/pynq_rpc/start_rpc_server.sh
View file @
dc5bdb6b
#!/bin/bash
#!/bin/bash
export
PYTHONPATH
=
${
PYTHONPATH
}
:/home/xilinx/tvm/python
export
PYTHONPATH
=
${
PYTHONPATH
}
:/home/xilinx/tvm/python
export
LD_LIBRARY_PATH
=
${
LD_LIBRARY_PATH
}
:/opt/python3.6/lib/python3.6/site-packages/pynq/
lib
/
export
LD_LIBRARY_PATH
=
${
LD_LIBRARY_PATH
}
:/opt/python3.6/lib/python3.6/site-packages/pynq/
drivers
/
python
-m
tvm.exec.rpc_server
--load-library
/home/xilinx/vta/lib/libvta.so
python
-m
tvm.exec.rpc_server
--load-library
/home/xilinx/vta/lib/libvta.so
vta/examples/resnet18/pynq/imagenet_predict.py
View file @
dc5bdb6b
...
@@ -129,7 +129,6 @@ with nnvm.compiler.build_config(opt_level=3):
...
@@ -129,7 +129,6 @@ with nnvm.compiler.build_config(opt_level=3):
sym
,
target
,
shape_dict
,
dtype_dict
,
sym
,
target
,
shape_dict
,
dtype_dict
,
params
=
params
)
params
=
params
)
remote
=
rpc
.
connect
(
host
,
port
)
temp
=
util
.
tempdir
()
temp
=
util
.
tempdir
()
lib
.
save
(
temp
.
relpath
(
"graphlib.o"
))
lib
.
save
(
temp
.
relpath
(
"graphlib.o"
))
remote
.
upload
(
temp
.
relpath
(
"graphlib.o"
))
remote
.
upload
(
temp
.
relpath
(
"graphlib.o"
))
...
...
vta/python/vta/build.py
View file @
dc5bdb6b
...
@@ -52,4 +52,4 @@ def debug_mode(debug_flag):
...
@@ -52,4 +52,4 @@ def debug_mode(debug_flag):
# Add a lower pass to sync uop
# Add a lower pass to sync uop
build_module
.
BuildConfig
.
current
.
add_lower_pass
=
debug_mode
(
0
)
build_module
.
current_build_config
()
.
add_lower_pass
=
debug_mode
(
0
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment