You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by kp...@apache.org on 2022/07/30 17:33:03 UTC
[tvm] branch main updated: [AutoSchedule] Fix misusage of an already-moved object (#12239)
This is an automated email from the ASF dual-hosted git repository.
kparzysz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 12dcfd70ef [AutoSchedule] Fix misusage of an already-moved object (#12239)
12dcfd70ef is described below
commit 12dcfd70ef365a9d5cdccdcc516bf818367e561a
Author: Twice <tw...@apache.org>
AuthorDate: Sun Jul 31 01:32:54 2022 +0800
[AutoSchedule] Fix misusage of an already-moved object (#12239)
---
src/auto_scheduler/search_policy/sketch_policy.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/auto_scheduler/search_policy/sketch_policy.cc b/src/auto_scheduler/search_policy/sketch_policy.cc
index 4a4ab18b5e..8b0faed5b5 100644
--- a/src/auto_scheduler/search_policy/sketch_policy.cc
+++ b/src/auto_scheduler/search_policy/sketch_policy.cc
@@ -150,7 +150,7 @@ SketchPolicy::SketchPolicy(SearchTask task, CostModel program_cost_model,
node->mutation_rules.push_back(std::make_shared<MutateTileSize>(0.90));
node->mutation_rules.push_back(std::make_shared<MutateAutoUnroll>(0.10));
} else {
- LOG(FATAL) << "No default sketch rules for target: " << task->target;
+ LOG(FATAL) << "No default sketch rules for target: " << node->search_task->target;
}
data_ = std::move(node);