trevor-m commented on a change in pull request #6108:
URL: https://github.com/apache/incubator-tvm/pull/6108#discussion_r459138745
##########
File path: tests/python/relay/test_op_level5.py
##########
@@ -270,9 +270,9 @@ def verify_get_valid_counts(dshape, score_threshold,
id_index, score_index):
intrp = relay.create_executor("debug", ctx=ctx, target=target)
out = intrp.evaluate(func)(np_data)
tvm.testing.assert_allclose(out[0].asnumpy(), np_out1, rtol=1e-3,
atol=1e-04)
- # get_valid_count for cuda, opencl doesn't do data rearrangement
- if target in ['cuda', 'opencl']:
- return
+ # get_valid_count for opencl doesn't do data rearrangement
+ if target in ['opencl']:
Review comment:
OpenCL shares the cuda implementation, so you can enable this test too.
The CI doesn't run opencl so please test it manually.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]