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
bfa7c4a5
Commit
bfa7c4a5
authored
Apr 19, 2017
by
Yizhi Liu
Committed by
Tianqi Chen
Apr 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Makefile ifdef & typo (#97)
parent
c0e5ec56
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile
+2
-2
docs/README.txt
+1
-1
tutorials/python/get_started.py
+1
-1
No files found.
Makefile
View file @
bfa7c4a5
...
...
@@ -67,11 +67,11 @@ ifeq ($(USE_LLVM), 1)
CFLAGS
+=
$(LLVM_INCLUDE)
-DTVM_LLVM_VERSION
=
$(LLVM_VERSION)
endif
ifdef
$(ADD_CFLAGS)
ifdef
ADD_CFLAGS
CFLAGS
+=
$(ADD_CFLAGS)
endif
ifdef
$(ADD_LDFLAGS)
ifdef
ADD_LDFLAGS
LDFLAGS
+=
$(ADD_LDFLAGS)
endif
...
...
docs/README.txt
View file @
bfa7c4a5
The documentation of tvm is generated with recommonmark and sphinx.
- pip install sphinx sphinx-gallery sphinx_rtd_theme matplotlib Image recommonmark
- pip install sphinx
>=1.5.5
sphinx-gallery sphinx_rtd_theme matplotlib Image recommonmark
- Build tvm first in the root folder.
- You can build it locally by typing "make html" in this folder.
tutorials/python/get_started.py
View file @
bfa7c4a5
...
...
@@ -139,7 +139,7 @@ np.testing.assert_allclose(c.asnumpy(), a.asnumpy() + b.asnumpy())
# is a tvm Module. fadd is the host module that contains the host wrapper,
# it also contains a device module for the CUDA function.
#
# The following code fetchs the device module and prints the content code.
# The following code fetch
e
s the device module and prints the content code.
#
dev_module
=
fadd_cuda
.
imported_modules
[
0
]
print
(
"-----CUDA code-----"
)
...
...
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