Skip to content

Commit

Permalink
Revert a trivial change.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxybazh committed Jun 11, 2022
1 parent 8dd8f9d commit 427f62f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/meta_schedule/task_scheduler/task_scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ namespace tvm {
namespace meta_schedule {

void TaskSchedulerNode::InitializeTask(int task_id) {
TuneContext task{nullptr};
TuneContext task = this->tasks[task_id];
{
TVMTimeScope(TaskSchedulerNode::InitializeTask);
task = this->tasks[task_id];
TVM_PY_LOG(INFO, this->logging_func)
<< "Initializing Task #" << task_id << ": " << task->task_name;
TVM_PY_LOG(INFO, task->logging_func)
Expand Down

0 comments on commit 427f62f

Please sign in to comment.