Skip to content

Commit

Permalink
[REFACTOR] examples->apps (apache#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored Jul 3, 2017
1 parent 34d2aae commit d0cbf94
Show file tree
Hide file tree
Showing 21 changed files with 14 additions and 13 deletions.
8 changes: 8 additions & 0 deletions apps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# TVM Application Extensions
This folder contains various extension projects using TVM,
they also serve as examples on how to use TVM in your own project.

If you are interested in writing optimized kernels with TVM, checkout [TOPI: TVM Operator Inventory](../topi).

- [extension](extension) How to extend TVM C++ api along with python API.
- [graph_executor](graph_executor) Build nnvm graph executor with TVM.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions examples/README.md

This file was deleted.

12 changes: 6 additions & 6 deletions tests/scripts/task_python_integration.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#!/bin/bash
export PYTHONPATH=python:examples/extension/python
export PYTHONPATH=${PYTHONPATH}:examples/graph_executor/python:examples/graph_executor/nnvm/python
export PYTHONPATH=python:apps/extension/python
export PYTHONPATH=${PYTHONPATH}:apps/graph_executor/python:apps/graph_executor/nnvm/python
export LD_LIBRARY_PATH=lib:${LD_LIBRARY_PATH}

# Test TVM
make cython || exit -1

# Test extern package package
cd examples/extension
cd apps/extension
make || exit -1
cd ../..
python -m nose -v examples/extension/tests || exit -1
python -m nose -v apps/extension/tests || exit -1

# Test NNVM integration
cd examples/graph_executor
cd apps/graph_executor
make || exit -1
cd ../..
python -m nose -v examples/graph_executor/tests || exit -1
python -m nose -v apps/graph_executor/tests || exit -1

TVM_FFI=cython python -m nose -v tests/python/integration || exit -1
TVM_FFI=ctypes python3 -m nose -v tests/python/integration || exit -1
Expand Down

0 comments on commit d0cbf94

Please sign in to comment.