Home
last modified time | relevance | path

Searched refs:kRankSize (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/distribution/
Dmpi_wrapper.cc142 const int kRankSize = rank_size_; in AssignLocalRankID() local
143 size_t all_host_hashs[kRankSize]; in AssignLocalRankID()
144 CHECK_RET((rank_id_ < kRankSize), true, "The rank id is not less than rank size."); in AssignLocalRankID()
148 for (int global_rank = 0; global_rank < kRankSize; global_rank++) { in AssignLocalRankID()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/distribute/
Dmpi_collective_group.cc115 const int kRankSize = rank_size_; in AssignLocalRankID() local
116 size_t all_host_hashs[kRankSize]; in AssignLocalRankID()
120 for (int global_rank = 0; global_rank < kRankSize; global_rank++) { in AssignLocalRankID()
/third_party/mindspore/mindspore/core/abstract/
Dprim_others.cc31 constexpr auto kRankSize = "rank_size"; variable
465 if (!primitive->HasAttr(kRankSize)) { in InferImplAllGather()
468 auto rank_size = GetValue<int>(primitive->GetAttr(kRankSize)); in InferImplAllGather()
489 if (!primitive->HasAttr(kRankSize)) { in InferImplReduceScatter()
492 auto rank_size = GetValue<int>(primitive->GetAttr(kRankSize)); in InferImplReduceScatter()