/external/tensorflow/tensorflow/core/graph/ |
D | graph_partition.cc | 133 if (src->assigned_device_name() == dst->assigned_device_name()) { in NeedSameDeviceSendRecv() 186 builder->Attr("send_device", edge->src()->assigned_device_name()); in SetSendRecvAttrs() 189 opts.get_incarnation(edge->src()->assigned_device_name()))); in SetSendRecvAttrs() 190 builder->Attr("recv_device", edge->dst()->assigned_device_name()); in SetSendRecvAttrs() 217 cast_builder.Device(src->assigned_device_name()).Input(send_from); in AddSend() 243 send_builder.Device(src->assigned_device_name()).Input(send_from); in AddSend() 282 << " on " << src->assigned_device_name() << " in " in AddRecv() 285 << " on " << dst->assigned_device_name() << " in " in AddRecv() 292 << " on " << src->assigned_device_name() << " for " << dst->name() in AddRecv() 294 << " on " << dst->assigned_device_name(); in AddRecv() [all …]
|
D | mkl_tfconversion_pass.cc | 189 conversion_node->set_assigned_device_name(src->assigned_device_name()); in InsertConversionNodeOnEdge() 275 conversion_node->set_assigned_device_name(n->assigned_device_name()); in InsertInputConversionNode()
|
D | costmodel.cc | 370 if (persistent_alloc_ids_by_devices_.find(node->assigned_device_name()) == in IsPersistentTensor() 374 return persistent_alloc_ids_by_devices_.at(node->assigned_device_name()) in IsPersistentTensor() 485 cnode->set_device(n->assigned_device_name()); in AddToCostGraphDef()
|
D | graph.cc | 129 strings::StrAppend(&ret, "{", assigned_device_name(), "}"); in DebugString() 453 copy->set_assigned_device_name(node->assigned_device_name()); in CopyNode() 680 if (!node->assigned_device_name().empty()) { in ToGraphDefSubRange() 681 node_def->set_device(node->assigned_device_name()); in ToGraphDefSubRange()
|
D | mkl_layout_pass.cc | 1050 if (!n->assigned_device_name().empty() && in CanOpRunOnCPUDevice() 1051 !absl::StrContains(n->assigned_device_name(), kCPUDeviceSubStr)) { in CanOpRunOnCPUDevice() 2014 (*out)->set_assigned_device_name(orig_node->assigned_device_name()); in GetDummyMklTensorNode() 2948 pred->assigned_device_name() != succ->assigned_device_name() || in MergeConv2DWithBiasAdd() 3065 new_node->set_assigned_device_name(pred->assigned_device_name()); in MergeConv2DWithBiasAdd() 3108 pred->assigned_device_name() != succ->assigned_device_name() || in MergePadWithConv2D() 3241 new_node->set_assigned_device_name(pred->assigned_device_name()); in MergePadWithConv2D() 3273 badd->assigned_device_name() != fltr->assigned_device_name() || in MergeConv2DBackpropFilterWithBiasAddGrad() 3373 new_node->set_assigned_device_name(badd->assigned_device_name()); in MergeConv2DBackpropFilterWithBiasAddGrad() 3594 new_node->set_assigned_device_name(orig_node->assigned_device_name()); in RewriteNode() [all …]
|
D | graph.h | 117 const string& assigned_device_name() const; 923 inline const string& Node::assigned_device_name() const { in assigned_device_name() function
|
D | subgraph_test.cc | 86 EXPECT_EQ(device_info_.name(), n->assigned_device_name()) << s; in ExpectNodes()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | scheduler.cc | 97 curr->assigned_device_name() != out->assigned_device_name()) { in ComputeAsap() 153 src->assigned_device_name() != curr->assigned_device_name()) { in ComputeAlap() 230 Sim* sim = device_states_[event.node->assigned_device_name()]; in ComputeSchedule() 241 event.node->assigned_device_name() != out->assigned_device_name()) { in ComputeSchedule() 259 Sim* sim = device_states_[event.node->assigned_device_name()]; in ComputeSchedule()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | placer.cc | 113 node->assigned_device_name().c_str()); in LogDeviceAssignment() 116 << "): " << node->assigned_device_name(); in LogDeviceAssignment() 170 << node->assigned_device_name() << "'"; in Run() 236 if (CanAssignToDevice(input->assigned_device_name(), *devices)) { in Run() 276 CanAssignToDevice(output->assigned_device_name(), *devices)) { in Run()
|
D | colocation_graph.cc | 446 DeviceNameUtils::ParseFullName(node.assigned_device_name(), &parsed); in AssignDevice() 453 " node's assigned device name \"", node.assigned_device_name(), in AssignDevice() 462 " node's assigned device name \"", node.assigned_device_name(), in AssignDevice() 471 "\", node's assigned device name \"", node.assigned_device_name(), in AssignDevice() 1248 &text, " framework assigned device=", node->assigned_device_name()); in DebugInfo() 1260 const string& assigned_device_name, const string& node_type, in InitializeMemberWithAssignedDevice() argument 1267 TF_RETURN_IF_ERROR(member->SetAssignedDeviceName(assigned_device_name)); in InitializeMemberWithAssignedDevice() 1271 device_set_.FindDeviceByName(assigned_device_name); in InitializeMemberWithAssignedDevice() 1276 "Assigned device '", assigned_device_name, in InitializeMemberWithAssignedDevice() 1293 return errors::Internal("Assigned device '", assigned_device_name, in InitializeMemberWithAssignedDevice() [all …]
|
D | partitioning_utils.cc | 34 return node->assigned_device_name(); in PartitionFunctionGraph()
|
D | colocation_graph.h | 340 Status InitializeMemberWithAssignedDevice(const string& assigned_device_name,
|
D | placer_test.cc | 365 EXPECT_EQ(GetNodeByName(g_, (name_a))->assigned_device_name(), \ 366 GetNodeByName(g_, (name_b))->assigned_device_name()); \ 372 EXPECT_NE(GetNodeByName(g_, (name_a))->assigned_device_name(), \ 373 GetNodeByName(g_, (name_b))->assigned_device_name()); \ 380 GetNodeByName((g), (name))->assigned_device_name()) \ 387 GetNodeByName((g), (node1))->assigned_device_name()) \ 392 GetNodeByName((g), (node2))->assigned_device_name()) \ 398 GetNodeByName((g), (name))->assigned_device_name(), device_substr)) 854 GetNodeByName(g, "in")->assigned_device_name()); in TEST_F()
|
D | graph_execution_state.cc | 283 stateful_placements_[n->name()] = n->assigned_device_name(); in SaveStatefulNodes() 334 feed_tensor.node->assigned_device_name()); in AddNode()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | partially_decluster_pass.cc | 72 DeviceNameToDeviceType(n->assigned_device_name(), &device_type)); in FindNodesToDecluster() 92 TF_RETURN_IF_ERROR(DeviceNameToDeviceType(dst->assigned_device_name(), in FindNodesToDecluster() 143 cloned_node->set_assigned_device_name(n->assigned_device_name()); in PartiallyDeclusterNode() 252 DeviceNameToDeviceType(n->assigned_device_name(), &device_type)); in MustCompileNode()
|
D | clone_constants_for_better_clustering.cc | 53 new_in->set_assigned_device_name(n->assigned_device_name()); in CloneNode() 66 DeviceNameUtils::ParseFullName(n->assigned_device_name(), &parsed)); in IsConstantOnHost()
|
D | build_xla_ops_pass.cc | 153 .WithAssignedDevice(new_node->assigned_device_name()), in MergeOutgoingDataEdges() 359 if (!n->assigned_device_name().empty()) { in InferDeviceForCluster() 364 device_info_cache->GetIdFor(n->assigned_device_name())); in InferDeviceForCluster() 405 DeviceNameToDeviceType(n->assigned_device_name(), &device_type)); in GetOutputMemoryTypes()
|
D | mark_for_compilation_pass_test_helper.cc | 30 if (n->assigned_device_name().empty()) { in MarkForCompilation()
|
D | xla_cluster_util.cc | 268 if (devices_seen.contains(n->assigned_device_name())) { in IsSingleGpuGraph() 272 int gpu_number = GetGpuNumber(n->assigned_device_name()); in IsSingleGpuGraph() 279 devices_seen.insert(n->assigned_device_name()); in IsSingleGpuGraph()
|
D | increase_dynamism_for_auto_jit_pass.cc | 241 slice->assigned_device_name(), &host_name)); in ConvertTensorFlowSliceToStaticShapedSlice() 267 ops::Slice(main_scope.WithAssignedDevice(slice->assigned_device_name()) in ConvertTensorFlowSliceToStaticShapedSlice()
|
D | mark_for_compilation_pass.cc | 580 if (n.assigned_device_name().empty()) { in IgnoreResourceOpForSafetyAnalysis() 587 device_info_cache->GetCompilationDevice(n.assigned_device_name())); in IgnoreResourceOpForSafetyAnalysis() 1002 const string& device_name_str = !node->assigned_device_name().empty() in BuildInitialClusterSet() 1003 ? node->assigned_device_name() in BuildInitialClusterSet() 1162 device_info_cache_.GetDeviceTypeFor(node->assigned_device_name())); in FindCompilationCandidates()
|
D | node_matchers.cc | 122 if (assigned_device && node->assigned_device_name() != *assigned_device) { in MatchAndExplain() 125 << " but found \"" << node->assigned_device_name() << "\""; in MatchAndExplain()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | sharding_util.cc | 90 string device_name = node.assigned_device_name(); in ParseShardingFromDevice() 100 string device_name = src.assigned_device_name(); in SetShardingDeviceAssignmentFromNode()
|
D | tf2xla_util.cc | 515 n->set_assigned_device_name(matching_node->assigned_device_name()); in SetNodeShardingFromNeighbors() 632 builder.Device(node->assigned_device_name().empty() in RewriteAssociatedFunction() 634 : node->assigned_device_name()); in RewriteAssociatedFunction()
|
/external/tensorflow/tensorflow/core/framework/ |
D | graph_to_functiondef.cc | 171 if (!node->assigned_device_name().empty()) { in FillFunctionBody() 172 node_def->set_device(node->assigned_device_name()); in FillFunctionBody()
|