Skip to content

Commit

Permalink
[FIX] disable cuda test for argwhere (#7042)
Browse files Browse the repository at this point in the history
* disable cuda test for argwhere

* Fix lint

Co-authored-by: Lianmin Zheng <[email protected]>
  • Loading branch information
zhiics and merrymercy committed Dec 5, 2020
1 parent 878a0a9 commit 76b4ad0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/python/topi/python/test_topi_argwhere.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ def check_device(device, ctx):
tvm.testing.assert_allclose(args[-1].asnumpy(), np.array(np_out))

for target, ctx in tvm.testing.enabled_targets():
# TODO(zhiics) Enable argwhere gpu test after sort is fixed.
if ctx.device_type != 1:
continue
check_device(target, ctx)


Expand Down

0 comments on commit 76b4ad0

Please sign in to comment.