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
776fd6bd
Commit
776fd6bd
authored
Oct 07, 2019
by
Bohan Hou
Committed by
Zhi
Oct 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] Fix typos in tutorials (#4066)
fix some typos
parent
22412726
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tutorials/language/intrin_math.py
+2
-2
No files found.
tutorials/language/intrin_math.py
View file @
776fd6bd
...
@@ -38,7 +38,7 @@ import numpy as np
...
@@ -38,7 +38,7 @@ import numpy as np
# -------------------------------
# -------------------------------
# The most straight-forward way to call target specific function is via
# The most straight-forward way to call target specific function is via
# extern function call construct in tvm.
# extern function call construct in tvm.
# In th following example, we use :any:`tvm.call_pure_extern` to call
# In th
e
following example, we use :any:`tvm.call_pure_extern` to call
# :code:`__expf` function, which is only available under CUDA.
# :code:`__expf` function, which is only available under CUDA.
#
#
n
=
tvm
.
var
(
"n"
)
n
=
tvm
.
var
(
"n"
)
...
@@ -119,7 +119,7 @@ print(fcuda.imported_modules[0].get_source())
...
@@ -119,7 +119,7 @@ print(fcuda.imported_modules[0].get_source())
######################################################################
######################################################################
# Add Your Own Intrinsic
# Add Your Own Intrinsic
# ----------------------
# ----------------------
# If there is an in
s
trinsic that is not provided by TVM.
# If there is an intrinsic that is not provided by TVM.
# User can easily add new intrinsic by using the intrinsic rule system.
# User can easily add new intrinsic by using the intrinsic rule system.
# The following example add an intrinsic :code:`mylog` to the system.
# The following example add an intrinsic :code:`mylog` to the system.
#
#
...
...
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