Skip to content

Commit

Permalink
Update python/tvm/auto_scheduler/measure.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored Sep 22, 2021
1 parent 80df07a commit 80ee67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/auto_scheduler/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def _timed_eval_func(
random_fill(empty_array)
loc_args.append(empty_array)
else:
loc_args.append(ndarray.array(arg))
loc_args.append(ndarray.array(args[idx], dev))
dev.sync()
costs = time_f(*loc_args).results
# pylint: disable=broad-except
Expand Down

0 comments on commit 80ee67c

Please sign in to comment.