diff --git a/paddle/fluid/framework/new_executor/interpretercore.cc b/paddle/fluid/framework/new_executor/interpretercore.cc index 8d906609a35243acae606325087807f77c8c22fb..4f2a4f48b7f99749963eaa39160360b54a5620d0 100644 --- a/paddle/fluid/framework/new_executor/interpretercore.cc +++ b/paddle/fluid/framework/new_executor/interpretercore.cc @@ -138,7 +138,7 @@ InterpreterCore::InterpreterCore(const platform::Place& place, Priority lhs_prority = vec_instruction_[lhs].GetPriority(); Priority rhs_prority = vec_instruction_[rhs].GetPriority(); if (lhs_prority == rhs_prority) { - return lhs > rhs; + return lhs < rhs; } return lhs_prority > rhs_prority; };