You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/07/08 14:03:28 UTC
[GitHub] [tvm] jcf94 commented on a change in pull request #8409: Prepare the topi tests for AArch64 CI.
jcf94 commented on a change in pull request #8409:
URL: https://github.com/apache/tvm/pull/8409#discussion_r666223219
##########
File path: tests/python/topi/python/test_topi_sparse.py
##########
@@ -73,12 +68,12 @@ def check_device(device):
assert a.data.dtype == A.data.dtype
assert a.indices.dtype == A.indices.dtype
assert a.indptr.dtype == A.indptr.dtype
- f = tvm.build(s, [nr, A.data, A.indices, A.indptr, B, C, D], device, name="csrmv")
+ f = tvm.build(s, [nr, A.data, A.indices, A.indptr, B, C, D], target, name="csrmv")
f(_nr, a.data, a.indices, a.indptr, b, c, d)
tvm.testing.assert_allclose(d.numpy(), d_np, rtol=1e-4, atol=1e-4)
- for device in ["llvm"]:
- check_device(device)
+ for target, dev in tvm.testing.enabled_targets():
+ check_device(target, dev)
Review comment:
Seems the schedules for sparse ops are not ready for GPU? I see the CI failed in cases like this.
We can add a TODO notes here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org