| 189 | } |
| 190 | |
| 191 | Status Member::FillPossibleDevices(PossibleDevices* possible_device) const { |
| 192 | if (DeviceNameUtils::HasSomeDetails(assigned_device_name_)) { |
| 193 | return errors::Internal( |
| 194 | "Cannot fill PossibleDevices from a member that has non-empty assigned " |
| 195 | "device. Did we start assigning devices to functions called by deep " |
| 196 | "ops? ", |
| 197 | DebugString()); |
| 198 | } |
| 199 | possible_device->requested_device_name = requested_device_name_; |
| 200 | possible_device->resource_device_name = resource_device_name_; |
| 201 | possible_device->device_types = supported_device_types_; |
| 202 | return Status::OK(); |
| 203 | } |
| 204 | |
| 205 | Status Member::EnsureCompatibilityAcrossResourceEdge( |
| 206 | const Node& src, const Member& src_root, |