Searched refs:clist_ptrs (Results 1 – 1 of 1) sorted by relevance
25 void Simplify(CostPtrList *clist_ptrs) { in Simplify() argument29 SimplifyForDecreasingCommunicationWithPartialPara(clist_ptrs); in Simplify()32 SimplifyForDecreasingCommunicationForward(clist_ptrs); in Simplify()35 void SimplifyForDecreasingCommunicationForward(CostPtrList *clist_ptrs) { in SimplifyForDecreasingCommunicationForward() argument43 MS_EXCEPTION_IF_NULL(clist_ptrs); in SimplifyForDecreasingCommunicationForward()44 std::vector<size_t> id(clist_ptrs->size()); in SimplifyForDecreasingCommunicationForward()46 std::sort(id.begin(), id.end(), [&clist_ptrs](size_t x, size_t y) { in SimplifyForDecreasingCommunicationForward()47 return clist_ptrs->at(x)->computation_cost_ < clist_ptrs->at(y)->computation_cost_; in SimplifyForDecreasingCommunicationForward()50 for (size_t i = 0; i < clist_ptrs->size(); ++i) { in SimplifyForDecreasingCommunicationForward()52 (clist_ptrs->at(id[i])->communication_forward_ < ret.back()->communication_forward_)) { in SimplifyForDecreasingCommunicationForward()[all …]