[Refactor] Introduce target generic dispatch system (#556)
* [TVM] Introduce target generic dispatch system * fix target warning
Showing
- docs/api/python/index.rst 1 addition, 0 deletionsdocs/api/python/index.rst
- docs/api/python/target.rst 13 additions, 0 deletionsdocs/api/python/target.rst
- docs/api/python/topi.rst 13 additions, 17 deletionsdocs/api/python/topi.rst
- python/tvm/_ffi/ndarray.py 1 addition, 5 deletionspython/tvm/_ffi/ndarray.py
- python/tvm/_ffi/runtime_ctypes.py 3 additions, 0 deletionspython/tvm/_ffi/runtime_ctypes.py
- python/tvm/build_module.py 20 additions, 39 deletionspython/tvm/build_module.py
- python/tvm/target.py 289 additions, 41 deletionspython/tvm/target.py
- src/codegen/llvm/llvm_common.cc 2 additions, 0 deletionssrc/codegen/llvm/llvm_common.cc
- tests/python/integration/test_gemm.py 2 additions, 1 deletiontests/python/integration/test_gemm.py
- tests/python/unittest/test_lang_target.py 44 additions, 0 deletionstests/python/unittest/test_lang_target.py
- topi/python/topi/cuda/conv2d_nchw.py 3 additions, 0 deletionstopi/python/topi/cuda/conv2d_nchw.py
- topi/python/topi/cuda/dense.py 2 additions, 0 deletionstopi/python/topi/cuda/dense.py
- topi/python/topi/cuda/depthwise_conv2d.py 2 additions, 0 deletionstopi/python/topi/cuda/depthwise_conv2d.py
- topi/python/topi/cuda/injective.py 5 additions, 1 deletiontopi/python/topi/cuda/injective.py
- topi/python/topi/cuda/pooling.py 3 additions, 0 deletionstopi/python/topi/cuda/pooling.py
- topi/python/topi/cuda/reduction.py 2 additions, 0 deletionstopi/python/topi/cuda/reduction.py
- topi/python/topi/cuda/softmax.py 2 additions, 0 deletionstopi/python/topi/cuda/softmax.py
- topi/python/topi/generic/__init__.py 19 additions, 0 deletionstopi/python/topi/generic/__init__.py
- topi/python/topi/generic/injective.py 32 additions, 0 deletionstopi/python/topi/generic/injective.py
- topi/python/topi/generic/nn.py 142 additions, 0 deletionstopi/python/topi/generic/nn.py
docs/api/python/target.rst
0 → 100644
tests/python/unittest/test_lang_target.py
0 → 100644
topi/python/topi/generic/__init__.py
0 → 100644
topi/python/topi/generic/injective.py
0 → 100644
topi/python/topi/generic/nn.py
0 → 100644
Please register or sign in to comment