| 542 | } |
| 543 | |
| 544 | static std::shared_ptr<Device> LookupDevice(const PyLocalClient& client, |
| 545 | int device_id) { |
| 546 | auto it = client.id_to_device().find(device_id); |
| 547 | CHECK(it != client.id_to_device().end()) |
| 548 | << "Unknown device id: " << device_id; |
| 549 | return it->second; |
| 550 | } |
| 551 | |
| 552 | PyLocalExecutable::PyLocalExecutable( |
| 553 | std::vector<std::unique_ptr<LocalExecutable>> executables, |
no test coverage detected