/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils_test.cc | 30 if (!DeviceNameUtils::ParseFullName(original, &p)) { in RoundTripParsedName() 75 EXPECT_FALSE(DeviceNameUtils::ParseFullName("foobar", &p)); in TEST() 76 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST() 79 DeviceNameUtils::ParseFullName("/job:123/replica:1/task:2/gpu:", &p)); in TEST() 80 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST() 82 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST() 84 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST() 87 DeviceNameUtils::ParseFullName("/job:foo/replica:1/task:2/bar:3", &p)); in TEST() 88 EXPECT_FALSE(DeviceNameUtils::ParseFullName( in TEST() 90 EXPECT_TRUE(DeviceNameUtils::ParseFullName( in TEST() [all …]
|
D | device_name_utils.cc | 104 bool DeviceNameUtils::ParseFullName(StringPiece fullname, ParsedName* p) { in ParseFullName() function in tensorflow::DeviceNameUtils 179 return ParseFullName(fullname, p) || ParseLocalName(fullname, p); in ParseFullOrLocalName() 216 if (!ParseFullName(basename, &parsed_basename)) { in CanonicalizeDeviceName() 233 if (ParseFullName(fullname, &parsed_name)) { in CanonicalizeDeviceName() 458 return ParseFullName(src, &x) && ParseFullName(dst, &y) && in IsSameAddressSpace() 499 CHECK(ParseFullName(fullname, &x)) << fullname; in LocalName() 523 if (ParseFullName(name, &pn) && pn.has_type && pn.has_id) { in SplitDeviceName() 584 if (!DeviceNameUtils::ParseFullName(device_name, &device)) { in DeviceNameToCpuDeviceName()
|
/external/llvm-project/lldb/unittests/Core/ |
D | RichManglingContextTest.cpp | 32 RMC.ParseFullName(); in TEST() 56 ItaniumRMC.ParseFullName(); in TEST() 57 CxxMethodRMC.ParseFullName(); in TEST() 90 RMC.ParseFullName(); in TEST() 94 RMC.ParseFullName(); in TEST() 98 RMC.ParseFullName(); in TEST() 127 RMC.ParseFullName(); in TEST() 132 RMC.ParseFullName(); in TEST()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer.cc | 65 bool parsed = DeviceNameUtils::ParseFullName(lfqn, &parsed_name); in VirtualPlacer() 96 bool parsed = DeviceNameUtils::ParseFullName(lfqn, &parsed_name); in VirtualPlacer() 145 bool parsed = DeviceNameUtils::ParseFullName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
|
D | utils.cc | 242 if (DeviceNameUtils::ParseFullName(device_str, &parsed)) { in GetDeviceInfo() 394 bool parsed = DeviceNameUtils::ParseFullName(device_name, &parsed_name); in GetDeviceClassForNonChannelDevice() 404 parsed = DeviceNameUtils::ParseFullName(name, &parsed_name); in GetDeviceClassForNonChannelDevice()
|
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/ |
D | distributed_tpu_rewrite_helpers.cc | 32 if (!DeviceNameUtils::ParseFullName(system_spec_string, system_spec)) { in GetSystemDevice() 86 if (!DeviceNameUtils::ParseFullName((*system_device)->name(), system_spec)) { in GetSystemDevice() 103 CHECK(DeviceNameUtils::ParseFullName( in GetHostSystemDevices() 111 CHECK(DeviceNameUtils::ParseFullName( in GetHostSystemDevices()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | device_util.cc | 78 if (DeviceNameUtils::ParseFullName(string_attr.getValue().str(), &device)) { in GetDevicesFromOp() 101 if (!DeviceNameUtils::ParseFullName(name.str(), &device)) in GetDevicesFromOp() 165 if (!DeviceNameUtils::ParseFullName( in GetDeviceOrdinalFromDeviceString()
|
D | device_util_test.cc | 51 DeviceNameUtils::ParseFullName(name, &parsed_name); in Make() 198 DeviceNameUtils::ParseFullName(gpu0, &parsed_name); in TEST() 204 DeviceNameUtils::ParseFullName(gpu1, &parsed_name); in TEST()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | composite_device.cc | 44 if (!DeviceNameUtils::ParseFullName(underlying_devices.at(0), &parsed_name)) { in MakeDevice() 53 if (!DeviceNameUtils::ParseFullName(underlying_devices.at(i), &name)) { in MakeDevice()
|
D | renamed_device.cc | 32 CHECK(DeviceNameUtils::ParseFullName(new_base, &parsed_name)); in NewRenamedDevice()
|
D | composite_device_test.cc | 25 EXPECT_TRUE(DeviceNameUtils::ParseFullName(host_name, &parsed_host_name)); in TEST()
|
D | colocation_graph.cc | 164 if (!DeviceNameUtils::ParseFullName(device_name, &assigned_device_name_)) { in SetAssignedDeviceName() 180 if (!DeviceNameUtils::ParseFullName(node.requested_device(), in SetResourceDeviceName() 204 if (!DeviceNameUtils::ParseFullName(node.requested_device(), in SetRequestedDeviceName() 473 DeviceNameUtils::ParseFullName(node.assigned_device_name(), &parsed); in AssignDevice() 1211 if (DeviceNameUtils::ParseFullName(node->requested_device(), in GetDevicesForNode()
|
/external/tensorflow/tensorflow/core/tpu/kernels/ |
D | host_compute_ops.cc | 61 DeviceNameUtils::ParseFullName(ctx->device()->name(), &parsed_name), in RecvAtHostOp() 91 ctx, DeviceNameUtils::ParseFullName(cpu_device_, &parsed_name), in ComputeAsync() 218 DeviceNameUtils::ParseFullName(ctx->device()->name(), &parsed_name), in SendFromHostOp() 246 DeviceNameUtils::ParseFullName(cpu_device_, &parsed_name), in Compute()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | device_util.cc | 93 if (!DeviceNameUtils::ParseFullName(device, &parsed)) { in DeviceNameToDeviceType() 130 if (!DeviceNameUtils::ParseFullName(name0, &parsed0) || in PickDeviceForXlaImpl() 131 !DeviceNameUtils::ParseFullName(name1, &parsed1) || in PickDeviceForXlaImpl()
|
/external/llvm-project/lldb/source/Core/ |
D | RichManglingContext.cpp | 43 ParseFullName(); in FromItaniumName() 155 void RichManglingContext::ParseFullName() { in ParseFullName() function in RichManglingContext
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | remote_device.cc | 104 if (!DeviceNameUtils::ParseFullName(worker_name, &worker_name_parsed) || in NewRemoteDevices() 115 CHECK(DeviceNameUtils::ParseFullName(da.name(), &device_name_parsed)) in NewRemoteDevices()
|
/external/tensorflow/tensorflow/core/framework/ |
D | rendezvous.cc | 105 DeviceNameUtils::ParseFullName(parts[0], &out->src) && in ParseKey() 107 DeviceNameUtils::ParseFullName(parts[2], &out->dst) && in ParseKey()
|
D | device.cc | 28 CHECK(DeviceNameUtils::ParseFullName(name(), &parsed_name_)) in Device()
|
/external/tensorflow/tensorflow/python/util/ |
D | kernel_registry.cc | 45 if (!tensorflow::DeviceNameUtils::ParseFullName(node_def.device(), in TryFindKernelClass()
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | RichManglingContext.h | 60 void ParseFullName();
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | utils.cc | 273 if (!DeviceNameUtils::ParseFullName(device_name, &parsed_name)) { in GetDeviceParsedName() 294 if (!DeviceNameUtils::ParseFullName(b, &b_parsed_name)) { in MergeIfCompatible()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_compile_op_replication_pass.cc | 38 DeviceNameUtils::ParseFullName(device.getValue().str(), &parsed_name); in GetHost()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | implementation_selector.cc | 264 if (!DeviceNameUtils::ParseFullName(node_def->device(), &parsed_name) || in MaybeOptimizeFunctionCall() 308 if (!DeviceNameUtils::ParseFullName(device, &parsed_name) || in FindDeviceIndex()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | list_flex_ops.cc | 63 if (!tensorflow::DeviceNameUtils::ParseFullName(node_def->device(), in FindTensorflowKernelClass()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | custom_device_op_handler.cc | 27 if (!DeviceNameUtils::ParseFullName(device_name, &parsed) || in RegisterCustomDevice()
|