Home
last modified time | relevance | path

Searched refs:SplitDeviceName (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc369 TEST(DeviceNameUtilsTest, SplitDeviceName) { in TEST() argument
372 EXPECT_TRUE(DeviceNameUtils::SplitDeviceName( in TEST()
376 EXPECT_TRUE(DeviceNameUtils::SplitDeviceName( in TEST()
381 DeviceNameUtils::SplitDeviceName("/device:GPU:3", &task, &device)); in TEST()
384 EXPECT_FALSE(DeviceNameUtils::SplitDeviceName("gpu:3", &task, &device)); in TEST()
385 EXPECT_FALSE(DeviceNameUtils::SplitDeviceName("/job:foo/task:2/replica:1", in TEST()
387 EXPECT_TRUE(DeviceNameUtils::SplitDeviceName("/device:myspecialdevice:3", in TEST()
Ddevice_name_utils.h189 static bool SplitDeviceName(StringPiece name, std::string* task,
Ddevice_name_utils.cc520 bool DeviceNameUtils::SplitDeviceName(StringPiece name, string* task, in SplitDeviceName() function in tensorflow::DeviceNameUtils
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_cache_partial.cc61 if (!DeviceNameUtils::SplitDeviceName(device_name, &task, &device)) { in RefreshDeviceStatus()
Dcollective_param_resolver_distributed_test.cc101 if (!DeviceNameUtils::SplitDeviceName(device, &task_name, &dev_part)) { in GetDeviceLocalityAsync()
Dcollective_rma_distributed_test.cc154 if (!DeviceNameUtils::SplitDeviceName(device, &task_name, &dev_part)) { in GetDeviceLocalityAsync()
Dmaster_session.cc380 CHECK(DeviceNameUtils::SplitDeviceName(node->assigned_device_name(), &task, in SplitByWorker()
1320 DeviceNameUtils::SplitDeviceName(devices_->client_device()->name(), in CreateWorkerSessions()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc649 DeviceNameUtils::SplitDeviceName(node->device(), &node_device, &rest); in GroupCrossDeviceControlEdges()
666 DeviceNameUtils::SplitDeviceName(input->device(), &input_device, in GroupCrossDeviceControlEdges()
713 DeviceNameUtils::SplitDeviceName(input->device(), &input_device, in GroupCrossDeviceControlEdges()
Dmemory_optimizer.cc748 if (!DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) || in BuildSwapPair()
1276 DeviceNameUtils::SplitDeviceName(node1.device(), &task1, &device1); in CrossesTaskOrCpuGpuBoundary()
1279 DeviceNameUtils::SplitDeviceName(node2.device(), &task2, &device2); in CrossesTaskOrCpuGpuBoundary()
Dgeneric_layout_optimizer.cc87 if (!DeviceNameUtils::SplitDeviceName(device_name, &task, &device_type) || in NumConvOnDeviceWithDataTypeOverThreshold()
Darithmetic_optimizer.cc197 return DeviceNameUtils::SplitDeviceName(node.device(), &task, &device) && in NodeIsOnCpu()
2134 return DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) && in NodeIsOnCpuOrGpu()
Dauto_mixed_precision.cc1128 if (DeviceNameUtils::SplitDeviceName(device_name, &not_used, &device) && in IsOnDevice()
Dlayout_optimizer.cc592 if (DeviceNameUtils::SplitDeviceName(device_name, &not_used, &device) && in IsOnGPU()
Dgeneric_layout_optimizer_transposer.cc272 DeviceNameUtils::SplitDeviceName(device_name, &task, &device) && in ShouldProcess()
Dconstant_folding.cc3825 tensorflow::DeviceNameUtils::SplitDeviceName(input_node->device(), in MergeConcat()
/external/tensorflow/tensorflow/core/grappler/
Dutils.cc156 return DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) && in NodeIsOnCpu()
162 return DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) && in NodeIsOnGpu()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.cc206 if (!DeviceNameUtils::SplitDeviceName(master_env_.local_devices[0]->name(), in Init()
447 if (!DeviceNameUtils::SplitDeviceName(master_env_.local_devices[0]->name(), in UpdateServerDef()
Drpc_rendezvous_mgr.cc243 if (!DeviceNameUtils::SplitDeviceName(parsed.src_device, &call->src_worker_, in RecvFromRemoteAsync()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc983 if (!DeviceNameUtils::SplitDeviceName(d->name(), task_name, &ignored)) { in GetTaskName()