Home
last modified time | relevance | path

Searched refs:GetRankSize (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/tests/ut/cpp/utils/
Dcomm_manager_test.cc33 ASSERT_TRUE(CommManager::GetInstance().GetRankSize(string("1-2-3"), &rank_size)); in TEST_F()
34 ASSERT_TRUE(CommManager::GetInstance().GetRankSize(string("hccl_world_group"), &rank_size)); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/distribute/
Dmpi_pycc.cc33 int MpiPycc::GetRankSize(const std::string &group) { return GetGroupSize(group); } in GetRankSize() function in mindspore::device::ascend::collective::MpiPycc
42 mpi_initializer.def("get_rank_size", &MpiPycc::GetRankSize, "get rank size"); in PYBIND11_MODULE()
Dmpi_pycc.h35 static int GetRankSize(const std::string &group);
Dascend_collective.h51 int GetRankSize(const std::string &name = kHcclWorldGroup) const;
Dascend_collective.cc72 int HcclCollectiveGroup::GetRankSize(const std::string &name) const { in GetRankSize() function in mindspore::device::ascend::collective::HcclCollectiveGroup
/third_party/mindspore/mindspore/ccsrc/utils/
Dcomm_manager.cc104 bool CommManager::GetRankSize(const string &group, unsigned int *rank_size) const { in GetRankSize() function in mindspore::CommManager
110 *rank_size = static_cast<unsigned int>(HcclCollectiveGroup::instance().GetRankSize(group)); in GetRankSize()
164 bool CommManager::GetRankSize(const string &group, unsigned int *rank_size) const {
204 bool CommManager::GetRankSize(const string &group, unsigned int *rank_size) const {
Dcomm_manager.h37 bool GetRankSize(const string &group, unsigned int *rank_size) const;
/third_party/mindspore/tests/ut/cpp/stub/hccl/
Dcollective_stub.cc27 int HcclCollectiveGroup::GetRankSize(const std::string &) const { return 0; } in GetRankSize() function in mindspore::device::ascend::collective::HcclCollectiveGroup
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dgroup_manager.cc167 (void)CommManager::GetInstance().GetRankSize(world_group_, &world_size); in CreateGroup()
262 Status GroupManager::GetRankSize(const std::string &name, uint32_t *const rank_size) { in GetRankSize() function in mindspore::parallel::GroupManager
268 bool ret = CommManager::GetInstance().GetRankSize(name, rank_size); in GetRankSize()
Dgroup_manager.h62 Status GetRankSize(const std::string &name, uint32_t *rank_size);
Dstep_parallel.cc2896 if (!CommManager::GetInstance().GetRankSize(world_group, &world_rank_size)) { in GetCommInfo()
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/mpi/
Dmpi_adapter.h36 FUNC_EXPORT int GetRankSize() const { return rank_size_; } in GetRankSize() function
Dmpi_export.cc34 return inst->GetRankSize(); in GetMPIRankSize()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Dall_to_all_unify_mindir.cc48 uint32_t GetRankSize(const std::string &group) { in GetRankSize() function
113 uint32_t rank_size = GetRankSize(group); in CreateAllToAllvNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dpipeline_split.cc90 if (!CommManager::GetInstance().GetRankSize(world_group, &world_rank_size)) { in PipelineSplit()
Dpipeline.cc1343 bool ret = CommManager::GetInstance().GetRankSize("", &rank_size); in GetHcclRankSize()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dspecial_op_eliminate.h655 if (!CommManager::GetInstance().GetRankSize(group, &num_of_devices)) { in operator()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.cc1085 auto rank_size = HcclCollectiveGroup::instance().GetRankSize(); in HcclInit()