Don't replace reduction init axis with new axis if bound to a thread. (#3408)
authorChristian Sarofeen <csarofeen@nvidia.com>
Mon, 12 Aug 2019 21:11:11 +0000 (17:11 -0400)
committerTianqi Chen <tqchen@users.noreply.github.com>
Mon, 12 Aug 2019 21:11:11 +0000 (14:11 -0700)
commitd482512d160566b618edf71159519aad502e8f62
treeaff5193a6622e88c65559fd30051b34a308f5160
parent8bef595dededa2c6e34b43fa3e6d960da43a37d1
Don't replace reduction init axis with new axis if bound to a thread. (#3408)

* Don't replace reduction init axis with new axis if bound to a thread.

* Linter.

* Reduce bind test case.

* Guard test on CUDA support.

* [CUDA TE TESTS] Add rfactor predicate test, add global bx and tx.

* [CUDA TE TESTS] Add loop partition test for simple rfactor case.
src/op/op_util.cc
tests/python/unittest/test_codegen_cuda.py
tests/python/unittest/test_pass_loop_partition.py