| 332 | } |
| 333 | |
| 334 | static std::string GetReceiverDevice(XrtTfContext* context, |
| 335 | int recv_device_id) { |
| 336 | if (recv_device_id < 0) { |
| 337 | return "/job:xrt_client/task:0/replica:0/device:CPU:0"; |
| 338 | } else { |
| 339 | return context->devices().at(recv_device_id).name(); |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | static std::string GetRendezvousKey(absl::string_view send_device, |
| 344 | absl::string_view recv_device, |
no test coverage detected