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
5fec5c5a
Commit
5fec5c5a
authored
Jul 07, 2017
by
Tianqi Chen
Committed by
GitHub
Jul 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TOPI/TEST] Add Testcase folder for TOPI (#225)
parent
4580e690
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
1 deletions
+10
-1
Jenkinsfile
+1
-0
tests/scripts/task_python_topi.sh
+4
-0
tests/scripts/task_python_unittest.sh
+1
-1
topi/README.md
+4
-0
topi/tests/python/test_topi_basic.py
+0
-0
No files found.
Jenkinsfile
View file @
5fec5c5a
...
...
@@ -169,6 +169,7 @@ stage('Integration Test') {
unpack_lib
(
'gpu'
)
timeout
(
time:
max_time
,
unit:
'MINUTES'
)
{
sh
"${docker_run} gpu ./tests/scripts/task_python_integration.sh"
sh
"${docker_run} gpu ./tests/scripts/task_python_topi.sh"
}
}
}
...
...
tests/scripts/task_python_topi.sh
0 → 100755
View file @
5fec5c5a
export
PYTHONPATH
=
python:topi/python
python
-m
nose
-v
topi/tests/python
||
exit
-1
python3
-m
nose
-v
topi/tests/python
||
exit
-1
tests/scripts/task_python_unittest.sh
View file @
5fec5c5a
#!/bin/bash
export
PYTHONPATH
=
python
:topi/python
export
PYTHONPATH
=
python
TVM_FFI
=
ctypes python
-m
nose
-v
tests/python/unittest
||
exit
-1
TVM_FFI
=
ctypes python3
-m
nose
-v
tests/python/unittest
||
exit
-1
...
...
topi/README.md
View file @
5fec5c5a
...
...
@@ -21,6 +21,10 @@ optimizing tvm generated kernels. The goal
-
Some kernels have requirements on shape and data layout, assert them
-
Data layout aware, if not specified in argument or in function, assume NCHW by default.
## Testcase
-
Add testcases to testout the schedule and dataflow in the TOPI workflow
-
Only do correctness testing without attaching compiler flags and only run it once.
## Performance Tuning Workflow
Since TVM is work in progress, some optimization might not be perfect.
One quick way I find useful is to do codegen plus manual modification.
...
...
t
ests/python/unittest
/test_topi_basic.py
→
t
opi/tests/python
/test_topi_basic.py
View file @
5fec5c5a
File moved
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