Home
last modified time | relevance | path

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

12345

/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.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()
Dremote_device.h27 class DeviceAttributes; variable
42 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes,
65 DeviceAttributes device_attribute);
Dcollective_rma_distributed.cc46 const DeviceAttributes& server_attributes, in RecvBufCall()
125 DeviceAttributes server_attributes; in RecvFromPeer()
131 DeviceAttributes server_attributes; in RecvFromPeer()
262 std::vector<DeviceAttributes> cached_attrs; in CheckPeerHealth()
268 for (const DeviceAttributes& da : resp->device_attributes()) { in CheckPeerHealth()
271 for (const DeviceAttributes& attr : cached_attrs) { in CheckPeerHealth()
Dsession_mgr_test.cc31 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice()
40 DeviceAttributes device_attributes; in MakeCPU()
90 protobuf::RepeatedPtrField<DeviceAttributes> cluster_device_attributes; in TEST_F()
91 DeviceAttributes* local_cpu = cluster_device_attributes.Add(); in TEST_F()
93 DeviceAttributes* remote_cpu = cluster_device_attributes.Add(); in TEST_F()
166 protobuf::RepeatedPtrField<DeviceAttributes> cluster_device_attributes; in TEST_F()
219 protobuf::RepeatedPtrField<DeviceAttributes> cluster_device_attributes; in TEST_F()
Dcollective_param_resolver_distributed.h37 void CompleteParamsAsync(const DeviceAttributes& device, CollectiveParams* cp,
41 void CompleteGroupAsync(const DeviceAttributes& device,
67 void CompleteGroupDistributed(const DeviceAttributes& device,
Dsession_mgr.h61 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes,
73 const protobuf::RepeatedPtrField<DeviceAttributes>& device_attributes,
85 const protobuf::RepeatedPtrField<DeviceAttributes>&
Dcollective_param_resolver_distributed.cc35 const DeviceAttributes& device, in CompleteGroupCall()
108 const DeviceAttributes& device, CollectiveParams* cp, in CompleteParamsAsync()
117 std::vector<DeviceAttributes> devices; in CompleteParamsAsync()
143 const DeviceAttributes& device, CollGroupParams* group_params, in CompleteGroupAsync()
235 for (const DeviceAttributes& device : resp.device_attributes()) { in UpdateGroupCache()
274 const DeviceAttributes& device, CollGroupParams* group_params, in CompleteGroupDistributed()
Dsession_mgr.cc74 const protobuf::RepeatedPtrField<DeviceAttributes>& in CreateSession()
85 const protobuf::RepeatedPtrField<DeviceAttributes>& in CreateSession()
232 const protobuf::RepeatedPtrField<DeviceAttributes>& in UpdateSession()
262 std::vector<DeviceAttributes> added_cluster_device_attrs; in UpdateSession()
282 protobuf::RepeatedPtrField<DeviceAttributes> added_cluster_device_attrs_pb( in UpdateSession()
/external/tensorflow/tensorflow/core/graph/
Dsubgraph.h53 PruneRewrite(const string* endpoint_name, const DeviceAttributes* device_info) in PruneRewrite()
67 const DeviceAttributes& device_info() { return *device_info_; } in device_info()
71 const DeviceAttributes* const device_info_; // Not owned.
104 const DeviceAttributes& device_info, bool use_function_convention,
123 const DeviceAttributes* device_info, int32_t arg_index) in ArgFeedRewrite()
144 const DeviceAttributes* device_info, int32_t retval_index) in RetvalFetchRewrite()
/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()
198 DeviceAttributes device_attributes_;
Dcollective.h63 DeviceAttributes device;
169 DeviceAttributes* attributes) = 0;
173 const string& task, std::vector<DeviceAttributes>* attributes) = 0;
178 const std::vector<DeviceAttributes>& attributes) = 0;
189 virtual void CompleteParamsAsync(const DeviceAttributes& device,
196 virtual void CompleteGroupAsync(const DeviceAttributes& device,
323 virtual void CompleteParamsAsync(const DeviceAttributes& device, in CompleteParamsAsync()
332 virtual void CompleteGroupAsync(const DeviceAttributes& device, in CompleteGroupAsync()
Ddevice.cc27 Device::Device(Env* env, const DeviceAttributes& device_attributes) in Device()
43 DeviceAttributes Device::BuildDeviceAttributes( in BuildDeviceAttributes()
46 DeviceAttributes da; in BuildDeviceAttributes()
/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()
Ddevice_mgr.h35 class DeviceAttributes; variable
45 std::vector<DeviceAttributes>* devices) const = 0;
90 std::vector<DeviceAttributes>* devices) const override;
130 std::vector<DeviceAttributes>* devices) const override;
Dcollective_param_resolver_local.h51 void CompleteParamsAsync(const DeviceAttributes& device, CollectiveParams* cp,
55 void CompleteGroupAsync(const DeviceAttributes& device,
90 void CompleteGroupLocal(const DeviceAttributes& device,
Ddevice_mgr_test.cc33 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in CreateDevice()
37 DeviceAttributes attr; in CreateDevice()
Drenamed_device.cc42 DeviceAttributes attributes(underlying->attributes()); in NewRenamedDevice()
51 const DeviceAttributes& attributes, in RenamedDevice()
/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()

12345