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
549aa165
Commit
549aa165
authored
Mar 02, 2018
by
Atsushi Nukariya
Committed by
Tianqi Chen
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a typo for Target class (#951)
parent
e94e2450
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/tvm/target.py
+2
-2
No files found.
python/tvm/target.py
View file @
549aa165
...
...
@@ -99,7 +99,7 @@ class Target(object):
self
.
libs
+=
libs
.
split
(
","
)
elif
item
.
startswith
(
"-device="
):
self
.
device_name
=
item
.
split
(
"="
)[
1
]
# Target query searchs device name first
# Target query search
e
s device name first
if
self
.
device_name
:
self
.
keys
=
(
self
.
device_name
,)
else
:
...
...
@@ -122,7 +122,7 @@ class Target(object):
elif
target_name
in
(
"opengl"
,):
self
.
keys
+=
(
"opengl"
,)
elif
target_name
in
(
"stackvm"
,
"ext_dev"
):
# Do not now class for stacvm or ext_dev
# Do not now class for stac
k
vm or ext_dev
pass
else
:
raise
ValueError
(
"Unknown target name
%
s"
%
target_name
)
...
...
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