Skip to content

Commit

Permalink
[Ansor][FLAKY] Bug fix for compute at mutation error (apache#6557)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcf94 authored and trevor-m committed Oct 19, 2020
1 parent 88b5da4 commit db8296a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/auto_scheduler/search_policy/sketch_policy_rules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,15 @@ PopulationGenerationRule::ResultKind InitChangeComputeLocation::Apply(
try {
*state = policy->search_task->compute_dag.InferBound(*state);
} catch (std::exception& e) {
<<<<<<< HEAD
return ResultKind::kInvalid;
}
return ResultKind::kValid;
=======
return PopulationGenerationRule::ResultKind::kInvalid;
}
return PopulationGenerationRule::ResultKind::kValid;
>>>>>>> [Ansor][FLAKY] Bug fix for compute at mutation error (#6557)
}

PopulationGenerationRule::ResultKind InitParallel::Apply(SketchPolicyNode* policy, State* state,
Expand Down

0 comments on commit db8296a

Please sign in to comment.