Home
last modified time | relevance | path

Searched refs:src_rank (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dpermuter.cc80 void Permuter::DispatchSend(int src_rank, int target_rank, const Tensor* tensor, in DispatchSend() argument
83 strings::StrCat(col_ctx_->exec_key, src_rank, target_rank); in DispatchSend()
87 << " target_rank=" << target_rank << " src_rank=" << src_rank; in DispatchSend()
96 void Permuter::DispatchRecv(int src_rank, int target_rank, Tensor* tensor, in DispatchRecv() argument
99 strings::StrCat(col_ctx_->exec_key, src_rank, target_rank); in DispatchRecv()
102 << col_params_->instance.devices[src_rank] in DispatchRecv()
103 << " target_rank=" << target_rank << " src_rank=" << src_rank; in DispatchRecv()
105 col_params_->instance.devices[src_rank], in DispatchRecv()
106 col_params_->group.task_names[src_rank], in DispatchRecv()
107 col_params_->task.is_local[src_rank], recv_buf_key, col_ctx_->device, in DispatchRecv()
Dhierarchical_tree_broadcaster.cc44 string BroadcastBufKey(const string& exec_key, int subdiv, int src_rank, in BroadcastBufKey() argument
48 "):src(", src_rank, "):dst(", dst_rank, ")"); in BroadcastBufKey()
51 return strings::StrCat(exec_key, ":", subdiv, ":", src_rank, ":", dst_rank); in BroadcastBufKey()
407 int src_rank, in DispatchSend() argument
414 BroadcastBufKey(col_ctx_->exec_key, subdiv, src_rank, dst_rank); in DispatchSend()
430 void HierarchicalTreeBroadcaster::DispatchRecv(int subdiv, int src_rank, in DispatchRecv() argument
434 BroadcastBufKey(col_ctx_->exec_key, subdiv, src_rank, dst_rank); in DispatchRecv()
436 col_params_->instance.impl_details.subdiv_permutations[subdiv][src_rank]; in DispatchRecv()
440 << " src_rank=" << src_rank << " src_idx=" << src_idx; in DispatchRecv()
Dpermuter.h74 void DispatchSend(int src_rank, int target_rank, const Tensor* tensor,
77 void DispatchRecv(int src_rank, int target_rank, Tensor* tensor,
Dhierarchical_tree_broadcaster.h72 void DispatchSend(int subdiv, int dst_rank, int src_rank,
78 void DispatchRecv(int subdiv, int src_rank, int dst_rank, Tensor* dst_tensor,
/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager_test.cc211 TensorShape shape, int src_node, int src_rank, in MakeBroadcastTestCase() argument
221 if (node == src_node && local_rank == src_rank) { in MakeBroadcastTestCase()
624 const int src_rank = static_cast<int>(random::New64() % num_ranks); in TYPED_TEST() local
628 /*src_node=*/0, src_rank, in_place); in TYPED_TEST()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_to_linalg.cc1314 int src_rank = src_type.getRank(); in matchAndRewrite() local
1315 if (!src_rank) { in matchAndRewrite()
1335 rewriter.getContext(), src_rank, reduction_dims)); in matchAndRewrite()
1342 for (int i = 0, e = src_rank - reduction_dims.size(); i < e; ++i) in matchAndRewrite()
1344 indexing_maps.emplace_back(AffineMap::get(src_rank, /*symbolCount=*/0, in matchAndRewrite()
1361 GetParallelAndReductionIterators(src_rank, reduction_dims.size())); in matchAndRewrite()