[TOPI][x86] Introduce schedule_injective_from_existing and unify external schedules...
authorJon Soifer <soiferj@gmail.com>
Thu, 26 Sep 2019 05:48:50 +0000 (22:48 -0700)
committermasahi <masahi129@gmail.com>
Thu, 26 Sep 2019 05:48:50 +0000 (14:48 +0900)
commitb330d3012140dc3f2d91f5615985ca78916a827e
tree28cce9ac0d613430b4c6d5bb7085da89dca40276
parentd21f0ad5d946ae569ee9521578571a9d90e2d211
[TOPI][x86] Introduce schedule_injective_from_existing and unify external schedules for all targets (#3983)

* Fix extern schedule for x86

* Register x86::schedule_extern

* Fix

* Fix

* Replace extern.py with extern.h

* Introduce new generic function schedule_injective_from_existing

* Fix

* Fix

* Add back to C++

* Fix style

* Injective schedule calls local schedule_injective_from_existing

* Fix

* Remove target arg from schedule_injective_from_existing

* Fix docs

* Try to fix unit test

* Fix test

* Fix other tests

* Fix bug
24 files changed:
tests/cpp/build_module_test.cc
tests/python/unittest/test_runtime_heterogeneous.py
topi/include/topi/cuda/extern.h [deleted file]
topi/include/topi/cuda/injective.h
topi/include/topi/generic/extern.h
topi/include/topi/generic/injective.h
topi/include/topi/x86/injective.h
topi/python/topi/arm_cpu/injective.py
topi/python/topi/cuda/__init__.py
topi/python/topi/cuda/conv2d_int8.py
topi/python/topi/cuda/extern.py [deleted file]
topi/python/topi/cuda/group_conv2d_nchw.py
topi/python/topi/cuda/injective.py
topi/python/topi/cuda/reduction.py
topi/python/topi/cuda/softmax.py
topi/python/topi/cuda/sort.py
topi/python/topi/cuda/vision.py
topi/python/topi/generic/extern.py
topi/python/topi/generic/injective.py
topi/python/topi/hls/injective.py
topi/python/topi/opengl/injective.py
topi/python/topi/x86/dense.py
topi/python/topi/x86/injective.py
topi/src/topi.cc