Skip to content

Commit

Permalink
[TEST] Fix test_topi_batch_matmul_tensorcore.py:test_batch_matmul req…
Browse files Browse the repository at this point in the history
…uirement (apache#7294)

* this test current sets a requirement to "uses_gpu", which
   causes it to fail in cpu-only machine
 * this patch changes it to be "requires_tensorcore", as per discussion
   on issue apache#7277
  • Loading branch information
leandron authored and masahi committed Jan 18, 2021
1 parent 6137171 commit d1b9d59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def check_device(device):
check_device("cuda")


@tvm.testing.uses_gpu
@tvm.testing.requires_tensorcore
def test_batch_matmul():
verify_batch_matmul(1, 1, 16, 16, 32)
verify_batch_matmul(5, 5, 16, 16, 32)
Expand Down

0 comments on commit d1b9d59

Please sign in to comment.