zxybazh commented on a change in pull request #7534:
URL: https://github.com/apache/tvm/pull/7534#discussion_r593511802
##########
File path: tests/python/integration/test_tuning.py
##########
@@ -131,12 +131,11 @@ def teardown_module():
def get_sample_task(target=tvm.target.cuda(), target_host=None):
+ target = tvm.target.Target(target, target_host)
+ target_host = target.host
Review comment:
The `target` here is used to create a search task in the function. If
`target_host` is not `None`, this would be called to update the target and host.
----------------------------------------------------------------
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]