Home
last modified time | relevance | path

Searched refs:DeviceAttributes (Results 1 – 25 of 97) sorted by relevance

1234

/external/tensorflow/tensorflow/core/distributed_runtime/
Ddevice_resolver_distributed_test.cc40 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in NewDevice()
44 DeviceAttributes attr; in NewDevice()
63 std::vector<DeviceAttributes> attributes; in SetUp()
78 DeviceAttributes attributes; in TEST_F()
85 DeviceAttributes attributes; in TEST_F()
91 std::vector<DeviceAttributes> attributes; in TEST_F()
96 Property(&DeviceAttributes::name, in TEST_F()
98 Property(&DeviceAttributes::name, in TEST_F()
104 Property(&DeviceAttributes::name, in TEST_F()
106 Property(&DeviceAttributes::name, in TEST_F()
[all …]
Ddevice_resolver_distributed.h35 DeviceAttributes* attributes) override;
38 const string& task, std::vector<DeviceAttributes>* attributes) override;
41 const std::vector<DeviceAttributes>& attributes) override;
46 absl::flat_hash_map<string, DeviceAttributes> attr_table_ TF_GUARDED_BY(mu_);
Ddevice_resolver_distributed.cc31 const string& device, DeviceAttributes* attributes) { in GetDeviceAttributes()
42 const string& task, std::vector<DeviceAttributes>* attributes) { in GetAllDeviceAttributes()
58 const std::vector<DeviceAttributes>& attributes) { in UpdateDeviceAttributes()
60 for (const DeviceAttributes& attr : attributes) { in UpdateDeviceAttributes()
Dremote_device.h27 class DeviceAttributes; variable
42 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes,
65 DeviceAttributes device_attribute);
Dremote_device.cc38 RemoteDevice(Env* env, const DeviceAttributes& da) in RemoteDevice()
63 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes, in AsRemoteDevices()
113 for (const DeviceAttributes& da : call->resp.device_attributes()) { in NewRemoteDevices()
126 DeviceAttributes da_rewritten = da; in NewRemoteDevices()
153 DeviceAttributes device_attribute) { in NewRemoteDevice()
Dsession_mgr_test.cc28 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice()
37 DeviceAttributes device_attributes; in MakeCPU()
87 protobuf::RepeatedPtrField<DeviceAttributes> cluster_device_attributes; in TEST_F()
88 DeviceAttributes* local_cpu = cluster_device_attributes.Add(); in TEST_F()
90 DeviceAttributes* remote_cpu = cluster_device_attributes.Add(); in TEST_F()
163 protobuf::RepeatedPtrField<DeviceAttributes> cluster_device_attributes; in TEST_F()
218 protobuf::RepeatedPtrField<DeviceAttributes> cluster_device_attributes; in TEST_F()
Dsession_mgr.h54 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes,
66 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes,
74 const protobuf::RepeatedPtrField<DeviceAttributes>&
Dcollective_rma_distributed.cc42 const DeviceAttributes& server_attributes, in RecvBufCall()
95 DeviceAttributes server_attributes; in RecvFromPeer()
218 std::vector<DeviceAttributes> cached_attrs; in CheckPeerHealth()
224 for (const DeviceAttributes& da : resp->device_attributes()) { in CheckPeerHealth()
227 for (const DeviceAttributes& attr : cached_attrs) { in CheckPeerHealth()
Dcollective_param_resolver_distributed.h37 void CompleteParamsAsync(const DeviceAttributes& device, CollectiveParams* cp,
67 void CompleteGroupDistributed(const DeviceAttributes& device,
Dsession_mgr.cc62 const protobuf::RepeatedPtrField<DeviceAttributes>& in CreateSession()
72 const protobuf::RepeatedPtrField<DeviceAttributes>& in CreateSession()
192 const protobuf::RepeatedPtrField<DeviceAttributes>& in UpdateSession()
223 std::vector<DeviceAttributes> added_cluster_device_attrs; in UpdateSession()
243 protobuf::RepeatedPtrField<DeviceAttributes> added_cluster_device_attrs_pb( in UpdateSession()
Dcollective_param_resolver_distributed.cc35 const DeviceAttributes& device, in CompleteGroupCall()
108 const DeviceAttributes& device, CollectiveParams* cp, in CompleteParamsAsync()
116 std::vector<DeviceAttributes> attributes; in CompleteParamsAsync()
251 for (const DeviceAttributes& device : resp.device_attributes()) { in UpdateGroupCache()
287 const DeviceAttributes& device, CollectiveParams* cp, in CompleteGroupDistributed()
Dcollective_rma_distributed_test.cc49 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in NewDevice()
53 DeviceAttributes attr; in NewDevice()
84 std::vector<DeviceAttributes> dev_attr; in GetStatusAsync()
250 std::vector<DeviceAttributes>* dv = &dev_by_task_[worker_name]; in DefineWorker()
287 std::unordered_map<string, std::vector<DeviceAttributes>> dev_by_task_;
/external/tensorflow/tensorflow/core/framework/
Ddevice.h59 Device(Env* env, const DeviceAttributes& device_attributes);
79 const DeviceAttributes& attributes() const override { in attributes()
165 static DeviceAttributes BuildDeviceAttributes(
169 static DeviceAttributes BuildDeviceAttributes( in BuildDeviceAttributes()
191 const DeviceAttributes device_attributes_;
Ddevice.cc26 Device::Device(Env* env, const DeviceAttributes& device_attributes) in Device()
42 DeviceAttributes Device::BuildDeviceAttributes( in BuildDeviceAttributes()
45 DeviceAttributes da; in BuildDeviceAttributes()
Dcollective.h160 DeviceAttributes* attributes) = 0;
164 const string& task, std::vector<DeviceAttributes>* attributes) = 0;
169 const std::vector<DeviceAttributes>& attributes) = 0;
180 virtual void CompleteParamsAsync(const DeviceAttributes& device,
308 virtual void CompleteParamsAsync(const DeviceAttributes& device, in CompleteParamsAsync()
/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_resolver_local_test.cc48 DeviceAttributes attributes; in TEST_F()
55 DeviceAttributes attributes; in TEST_F()
61 std::vector<DeviceAttributes> attributes; in TEST_F()
67 std::vector<DeviceAttributes> attributes; in TEST_F()
Ddevice_resolver_local.h34 DeviceAttributes* attributes) override;
37 const string& task, std::vector<DeviceAttributes>* attributes) override;
40 const std::vector<DeviceAttributes>& attributes) override;
Ddevice_resolver_local.cc23 DeviceAttributes* attributes) { in GetDeviceAttributes()
37 const string& task, std::vector<DeviceAttributes>* attributes) { in GetAllDeviceAttributes()
43 const std::vector<DeviceAttributes>& attributes) { in UpdateDeviceAttributes()
Dcollective_param_resolver_local.h50 void CompleteParamsAsync(const DeviceAttributes& device, CollectiveParams* cp,
75 std::unordered_map<string, DeviceAttributes> devices TF_GUARDED_BY(mu);
87 void CompleteGroupLocal(const DeviceAttributes& device, CollectiveParams* cp,
144 void CompleteDefaultRanking(const std::vector<DeviceAttributes>& attributes,
Ddevice_mgr.h35 class DeviceAttributes; variable
45 std::vector<DeviceAttributes>* devices) const = 0;
90 std::vector<DeviceAttributes>* devices) const override;
126 std::vector<DeviceAttributes>* devices) const override;
Drenamed_device.cc42 DeviceAttributes attributes(underlying->attributes()); in NewRenamedDevice()
51 const DeviceAttributes& attributes, in RenamedDevice()
Ddevice_mgr_test.cc33 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in CreateDevice()
37 DeviceAttributes attr; in CreateDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_testlib.h64 const std::vector<DeviceAttributes>& devices() const { return devices_; } in devices()
71 std::vector<DeviceAttributes> devices_;
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfused_batchnorm_reserve_space_test.cc46 std::vector<DeviceAttributes> devices; in GetTestDevice()
49 bool found_cpu = absl::c_any_of(devices, [&](const DeviceAttributes& device) { in GetTestDevice()
53 bool found_gpu = absl::c_any_of(devices, [&](const DeviceAttributes& device) { in GetTestDevice()
/external/tensorflow/tensorflow/tools/optimization/
Doptimization_pass_runner.cc49 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice()
63 DeviceAttributes device_attributes; in Make()

1234