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 and echuraev committed Sep 23, 2021
1 parent 00a2aa2 commit c53badd
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 c53badd

Please sign in to comment.