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
f4b69742
Commit
f4b69742
authored
Feb 28, 2019
by
Ruslan Baratov
Committed by
Tianqi Chen
Feb 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Few docs fixes (#2703)
parent
2a4b175d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/install/from_source.rst
+3
-3
No files found.
docs/install/from_source.rst
View file @
f4b69742
...
@@ -5,7 +5,7 @@ Install from Source
...
@@ -5,7 +5,7 @@ Install from Source
This page gives instructions on how to build and install the tvm package from
This page gives instructions on how to build and install the tvm package from
scratch on various systems. It consists of two steps:
scratch on various systems. It consists of two steps:
1. First build the shared library from the C++ codes (`libtvm.so` for linux
/osx
and `libtvm.dll` for windows).
1. First build the shared library from the C++ codes (`libtvm.so` for linux
, `libtvm.dylib` for macOS
and `libtvm.dll` for windows).
2. Setup for the language packages (e.g. Python Package).
2. Setup for the language packages (e.g. Python Package).
To get started, clone tvm repo from github. It is important to clone the submodules along, with ``--recursive`` option.
To get started, clone tvm repo from github. It is important to clone the submodules along, with ``--recursive`` option.
...
@@ -28,7 +28,7 @@ Build the Shared Library
...
@@ -28,7 +28,7 @@ Build the Shared Library
Our goal is to build the shared libraries:
Our goal is to build the shared libraries:
- On Linux the target library are `libtvm.so, libtvm_topi.so`
- On Linux the target library are `libtvm.so, libtvm_topi.so`
- On
OSX
the target library are `libtvm.dylib, libtvm_topi.dylib`
- On
macOS
the target library are `libtvm.dylib, libtvm_topi.dylib`
- On Windows the target library are `libtvm.dll, libtvm_topi.dll`
- On Windows the target library are `libtvm.dll, libtvm_topi.dll`
...
@@ -60,7 +60,7 @@ The configuration of tvm can be modified by `config.cmake`.
...
@@ -60,7 +60,7 @@ The configuration of tvm can be modified by `config.cmake`.
- Edit ``build/config.cmake`` to customize the compilation options
- Edit ``build/config.cmake`` to customize the compilation options
- On macOS, for some versions of X
C
ode, you need to add ``-lc++abi`` in the LDFLAGS or you'll get link errors.
- On macOS, for some versions of X
c
ode, you need to add ``-lc++abi`` in the LDFLAGS or you'll get link errors.
- Change ``set(USE_CUDA OFF)`` to ``set(USE_CUDA ON)`` to enable CUDA backend. So do other backends and libraries
- Change ``set(USE_CUDA OFF)`` to ``set(USE_CUDA ON)`` to enable CUDA backend. So do other backends and libraries
(OpenCL, RCOM, METAL, VULKAN, ...).
(OpenCL, RCOM, METAL, VULKAN, ...).
...
...
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