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
d3b8c869
Commit
d3b8c869
authored
Jul 27, 2017
by
Tianqi Chen
Committed by
GitHub
Jul 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TEST] Fix java compilation (#279)
parent
52c8db5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
jvm/core/src/test/scripts/test_add_cpu.py
+1
-3
jvm/core/src/test/scripts/test_add_gpu.py
+1
-3
No files found.
jvm/core/src/test/scripts/test_add_cpu.py
View file @
d3b8c869
import
os
import
tvm
from
tvm.contrib
import
cc_compiler
as
cc
from
tvm.contrib
import
util
from
tvm.contrib
import
cc
,
util
def
test_add
(
target_dir
):
n
=
tvm
.
var
(
"n"
)
...
...
@@ -21,4 +20,3 @@ if __name__ == "__main__":
if
len
(
sys
.
argv
)
!=
2
:
sys
.
exit
(
-
1
)
test_add
(
sys
.
argv
[
1
])
jvm/core/src/test/scripts/test_add_gpu.py
View file @
d3b8c869
import
os
import
tvm
from
tvm.contrib
import
cc_compiler
as
cc
from
tvm.contrib
import
util
from
tvm.contrib
import
cc
,
util
def
test_add
(
target_dir
):
n
=
tvm
.
var
(
"n"
)
...
...
@@ -27,4 +26,3 @@ if __name__ == "__main__":
if
len
(
sys
.
argv
)
!=
2
:
sys
.
exit
(
-
1
)
test_add
(
sys
.
argv
[
1
])
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