Home
last modified time | relevance | path

Searched refs:set_assigned_device_name (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_with_tracking_alloc_test.cc54 a->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in TEST()
59 x->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:1"); in TEST()
63 y->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in TEST()
66 y_neg->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:1"); in TEST()
156 a->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in TestHWAccelerator()
161 x->set_assigned_device_name("/job:localhost/replica:0/task:0/device:GPU:0"); in TestHWAccelerator()
163 x->set_assigned_device_name("/job:localhost/replica:0/task:0/device:SYCL:0"); in TestHWAccelerator()
168 y->set_assigned_device_name("/job:localhost/replica:0/task:0/device:GPU:0"); in TestHWAccelerator()
170 y->set_assigned_device_name("/job:localhost/replica:0/task:0/device:SYCL:0"); in TestHWAccelerator()
174 y_neg->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in TestHWAccelerator()
[all …]
Ddirect_session_test.cc65 a->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in Initialize()
70 x->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:1"); in Initialize()
75 y->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in Initialize()
80 y_neg->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:1"); in Initialize()
237 a->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in TEST_F()
241 x->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:1"); in TEST_F()
244 y->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:2"); in TEST_F()
257 y->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:1"); in TEST_F()
303 var->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in TEST()
311 twenty_node->set_assigned_device_name( in TEST()
[all …]
Dplacer_test.cc446 GetNodeByName(g, "in")->set_assigned_device_name( in TEST_F()
486 GetNodeByName(g, "in")->set_assigned_device_name( in TEST_F()
968 GetNodeByName(g, "in")->set_assigned_device_name("/job:foo"); in TEST_F()
1044 GetNodeByName(g, "in")->set_assigned_device_name("/foo:bar"); in TEST_F()
1062 GetNodeByName(g, "in")->set_assigned_device_name("/job:a"); in TEST_F()
1271 ->set_assigned_device_name("/job:a/replica:0/task:0/device:fakecpu:1"); in TEST_F()
1274 ->set_assigned_device_name("/job:a/replica:0/task:0/device:fakecpu:2"); in TEST_F()
Dgraph_execution_state.cc229 n->set_assigned_device_name(iter->second); in RestoreStatefulNodes()
368 node->set_assigned_device_name(node->requested_device()); in OptimizeGraph()
Dconstant_folding.cc546 constant_node->set_assigned_device_name(partition_device->name()); in ReplaceTensorWithConstant()
/external/tensorflow/tensorflow/core/debug/
Ddebug_gateway_test.cc67 a->set_assigned_device_name(kDeviceName); in Initialize()
73 x->set_assigned_device_name(kDeviceName); in Initialize()
78 y->set_assigned_device_name(kDeviceName); in Initialize()
83 y_neg->set_assigned_device_name(kDeviceName); in Initialize()
525 a->set_assigned_device_name(kDeviceName); in Initialize()
528 c->set_assigned_device_name(kDeviceName); in Initialize()
535 y->set_assigned_device_name(kDeviceName); in Initialize()
628 var->set_assigned_device_name(kDeviceName); in Initialize()
639 init_val->set_assigned_device_name(kDeviceName); in Initialize()
643 init->set_assigned_device_name(kDeviceName); in Initialize()
[all …]
/external/tensorflow/tensorflow/core/platform/
Ddevice_tracer_test.cc61 a->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in Initialize()
66 x->set_assigned_device_name("/job:localhost/replica:0/task:0/device:GPU:0"); in Initialize()
71 y->set_assigned_device_name("/job:localhost/replica:0/task:0/device:GPU:0"); in Initialize()
76 i->set_assigned_device_name("/job:localhost/replica:0/task:0/cpu:0"); in Initialize()
80 y_neg->set_assigned_device_name( in Initialize()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc535 a->set_assigned_device_name(dev_a); in TEST()
537 a_err->set_assigned_device_name(dev_a); in TEST()
539 a2->set_assigned_device_name(dev_a); in TEST()
549 b->set_assigned_device_name(dev_b); in TEST()
551 b_delay->set_assigned_device_name(dev_b); in TEST()
553 b2->set_assigned_device_name(dev_b); in TEST()
592 a->set_assigned_device_name(dev_a); in TEST()
597 a_err->set_assigned_device_name(dev_a); in TEST()
599 a2->set_assigned_device_name(dev_a); in TEST()
609 b->set_assigned_device_name(dev_b); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc230 a_node->set_assigned_device_name("foo"); in TEST()
234 a_node->set_assigned_device_name("/device:TPU_REPLICATED_CORE:2"); in TEST()
242 b_node->set_assigned_device_name("/device:TPU_REPLICATED_CORE:1"); in TEST()
Dsharding_util.cc105 dst->set_assigned_device_name(device_name); in SetShardingDeviceAssignmentFromNode()
Dtf2xla_util.cc278 n->set_assigned_device_name(matching_node->assigned_device_name()); in SetNodeShardingFromNeighbors()
Dtf2xla.cc257 node->set_assigned_device_name( in ConvertGraphToXla()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h114 void set_assigned_device_name(const string& device_name);
561 void set_assigned_device_name(Node* node, const string& device_name) { in set_assigned_device_name() function
819 inline void Node::set_assigned_device_name(const string& device_name) { in set_assigned_device_name() function
820 graph_->set_assigned_device_name(this, device_name); in set_assigned_device_name()
Dgraph_partition.cc334 node->set_assigned_device_name( in OptimizeControlFlowColocation()
343 node->set_assigned_device_name( in OptimizeControlFlowColocation()
360 node->set_assigned_device_name( in OptimizeControlFlowColocation()
389 res_node->set_assigned_device_name(device_name); in AddControlEnter()
402 res_node->set_assigned_device_name(device_name); in AddControlMerge()
413 res_node->set_assigned_device_name(device_name); in AddControlSwitch()
422 res_node->set_assigned_device_name(device_name); in AddControlNext()
444 res_node->set_assigned_device_name(device_name); in AddControlConst()
Dmkl_tfconversion_pass.cc185 conversion_node->set_assigned_device_name(src->assigned_device_name()); in InsertConversionNodeOnEdge()
266 conversion_node->set_assigned_device_name(n->assigned_device_name()); in InsertInputConversionNode()
Dsubgraph.cc104 recv_node->set_assigned_device_name(device_info.name()); in FeedInputs()
252 send_node->set_assigned_device_name(device_info.name()); in FetchOutputs()
Dmkl_layout_pass.cc1062 (*out)->set_assigned_device_name(orig_node->assigned_device_name()); in GetDummyMklTensorNode()
1355 (*out)->set_assigned_device_name(orig_node->assigned_device_name()); in GetDummyWorkspaceTensorNode()
1875 new_node->set_assigned_device_name(pred->assigned_device_name()); in MergeNode()
2018 new_node->set_assigned_device_name(orig_node->assigned_device_name()); in RewriteNode()
3114 (*out)->set_assigned_device_name(orig_node->assigned_device_name());
3410 (*out)->set_assigned_device_name(orig_node->assigned_device_name());
3899 new_node->set_assigned_device_name(pred->assigned_device_name());
4021 new_node->set_assigned_device_name(badd->assigned_device_name());
4132 new_node->set_assigned_device_name(orig_node->assigned_device_name());
Dmkl_layout_pass_test.cc59 node->set_assigned_device_name(device); in InitGraph()
1920 node->set_assigned_device_name(device);
Dgraph.cc346 copy->set_assigned_device_name(node->assigned_device_name()); in CopyNode()
Dgraph_partition_test.cc87 node->set_assigned_device_name(device_name); in Partition()
Dgraph_constructor.cc553 (*node)->set_assigned_device_name(node_def.device()); in MakeNode()
/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_launch_ops_pass.cc88 launch_node->set_assigned_device_name(node->assigned_device_name()); in ReplaceNodeWithXlaLaunch()
Dencapsulate_subgraphs_pass.cc850 sequencer_->set_assigned_device_name(device_); in MakeSequencingNode()
1030 check_op->set_assigned_device_name(device); in BuildParallelCheckOp()
1054 call_node_inputs_->set_assigned_device_name(device_); in AddFunctionCallNode()
1089 oc_subgraph->recv_at_host->set_assigned_device_name(device_); in AddRecvAtHostNode()
1132 oc_subgraph->send_from_host->set_assigned_device_name(device_); in AddSendFromHostNode()
Dmark_for_compilation_pass_test.cc43 n->set_assigned_device_name(kCpuDevice); in MarkForCompilation()