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
b18143e5
Commit
b18143e5
authored
Sep 24, 2017
by
Tianqi Chen
Committed by
GitHub
Sep 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC][BUILD] Fix cmake and docs (#485)
parent
145b3d0f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
3 deletions
+15
-3
CMakeLists.txt
+6
-0
apps/android_rpc/app/src/main/jni/tvm_runtime.h
+3
-0
apps/ios_rpc/tvmrpc/TVMRuntime.mm
+2
-0
docs/api/python/contrib.rst
+3
-3
web/web_runtime.cc
+1
-0
No files found.
CMakeLists.txt
View file @
b18143e5
...
...
@@ -87,6 +87,7 @@ file(GLOB RUNTIME_CUDA_SRCS src/runtime/cuda/*.cc)
file
(
GLOB RUNTIME_OPENCL_SRCS src/runtime/opencl/*.cc
)
file
(
GLOB RUNTIME_METAL_SRCS src/runtime/metal/*.mm
)
file
(
GLOB RUNTIME_RPC_SRCS src/runtime/rpc/*.cc
)
file
(
GLOB RUNTIME_GRAPH_SRCS src/runtime/graph/*.cc
)
if
(
USE_CUDA
)
find_package
(
CUDA
)
...
...
@@ -149,6 +150,11 @@ if(USE_RPC)
list
(
APPEND RUNTIME_SRCS
${
RUNTIME_RPC_SRCS
}
)
endif
(
USE_RPC
)
if
(
USE_GRAPH_RUNTIME
)
message
(
STATUS
"Build with Graph runtime support..."
)
list
(
APPEND RUNTIME_SRCS
${
RUNTIME_GRAPH_SRCS
}
)
endif
(
USE_GRAPH_RUNTIME
)
if
(
USE_LLVM
)
find_package
(
LLVM CONFIG REQUIRED
)
include_directories
(
${
LLVM_INCLUDE_DIRS
}
)
...
...
apps/android_rpc/app/src/main/jni/tvm_runtime.h
View file @
b18143e5
...
...
@@ -21,6 +21,9 @@
#include "../src/runtime/rpc/rpc_module.cc"
#include "../src/runtime/rpc/rpc_socket_impl.cc"
#include "../src/runtime/thread_pool.cc"
#include "../src/runtime/graph/graph_runtime.cc"
#ifdef TVM_OPENCL_RUNTIME
#include "../src/runtime/opencl/opencl_device_api.cc"
#include "../src/runtime/opencl/opencl_module.cc"
...
...
apps/ios_rpc/tvmrpc/TVMRuntime.mm
View file @
b18143e5
...
...
@@ -19,6 +19,8 @@
#include "../../src/runtime/rpc/rpc_server_env.cc"
#include "../../src/runtime/rpc/rpc_socket_impl.cc"
#include "../../src/runtime/rpc/rpc_module.cc"
// Graph runtime
#include "../../src/runtime/graph/graph_runtime.cc"
// Metal
#include "../../src/runtime/metal/metal_module.mm"
#include "../../src/runtime/metal/metal_device_api.mm"
...
...
docs/api/python/contrib.rst
View file @
b18143e5
...
...
@@ -22,9 +22,9 @@ tvm.contrib.rpc
.. automodule:: tvm.contrib.rpc
:members:
tvm.contrib.graph
~~~~~~~~~~~~~~~~~
.. automodule:: tvm.contrib.graph
tvm.contrib.graph
_runtime
~~~~~~~~~~~~~~~~~
~~~~~~~~
.. automodule:: tvm.contrib.graph
_runtime
:members:
tvm.contrib.util
...
...
web/web_runtime.cc
View file @
b18143e5
...
...
@@ -17,6 +17,7 @@
#include "../src/runtime/rpc/rpc_session.cc"
#include "../src/runtime/rpc/rpc_event_impl.cc"
#include "../src/runtime/rpc/rpc_server_env.cc"
#include "../src/runtime/graph/graph_runtime.cc"
namespace
tvm
{
namespace
contrib
{
...
...
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