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
51223c38
Commit
51223c38
authored
Dec 14, 2017
by
Cody Hao Yu
Committed by
Tianqi Chen
Dec 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make duplicated function name checker working (#705)
parent
770b904b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CONTRIBUTORS.md
+1
-0
python/tvm/build_module.py
+1
-0
No files found.
CONTRIBUTORS.md
View file @
51223c38
...
...
@@ -36,3 +36,4 @@ List of Contributors
-
[
Jian Weng
](
https://github.com/were
)
-
[
Masahiro Masuda
](
https://github.com/masahi
)
-
[
Haolong Zhang
](
https://github.com/haolongzhangm
)
-
[
Cody Hao Yu
](
https://github.com/comaniac
)
python/tvm/build_module.py
View file @
51223c38
...
...
@@ -310,6 +310,7 @@ def build(sch,
raise
ValueError
(
"sch have to be Schedule, LoweredFunc or list of LoweredFunc"
)
if
x
.
name
in
fname_set
:
raise
ValueError
(
"Duplicate function name
%
s"
%
x
.
name
)
fname_set
.
add
(
x
.
name
)
target
=
_target
.
current_target
()
if
target
is
None
else
target
target
=
_target
.
create
(
target
)
if
target
else
_target
.
create
(
"llvm"
)
...
...
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