Home
last modified time | relevance | path

Searched refs:dev_ranks (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Ddevice_manager.cc296 Group DeviceManager::CreateGroup(const RankList &dev_ranks) { in CreateGroup() argument
297 std::unordered_set<int64_t> rank_set(dev_ranks.begin(), dev_ranks.end()); in CreateGroup()
298 if (dev_ranks.size() != rank_set.size()) { in CreateGroup()
299 …MS_LOG(EXCEPTION) << "Invalid dev ranks(" << dev_ranks << "), it has the Duplicate elements in lis… in CreateGroup()
302 std::string group_name = GenerateGroupNameByRanks(dev_ranks); in CreateGroup()
303 auto dev_list = CreateDeviceListByRankList(dev_ranks); in CreateGroup()
Ddevice_manager.h72 std::string GenerateGroupNameByRanks(RankList dev_ranks);
74 Group CreateGroup(const RankList &dev_ranks);