static */
| 73 | |
| 74 | /* static */ |
| 75 | Status MPIServer::Create(const ServerDef& server_def, Env* env, |
| 76 | std::unique_ptr<ServerInterface>* out_server) { |
| 77 | std::unique_ptr<MPIServer> ret(new MPIServer(server_def, Env::Default())); |
| 78 | ServiceInitFunction service_func = nullptr; |
| 79 | TF_RETURN_IF_ERROR(ret->Init(service_func, NewMPIRendezvousMgr)); |
| 80 | *out_server = std::move(ret); |
| 81 | return Status::OK(); |
| 82 | } |
| 83 | |
| 84 | namespace { |
| 85 |