|
|
|
@ -121,13 +121,11 @@ void FleetWrapper::GatherServers(const std::vector<uint64_t>& host_sign_list,
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FleetWrapper::GatherClients(
|
|
|
|
|
const std::vector<uint64_t>& host_sign_list) {
|
|
|
|
|
void FleetWrapper::GatherClients(const std::vector<uint64_t>& host_sign_list) {
|
|
|
|
|
#ifdef PADDLE_WITH_PSLIB
|
|
|
|
|
VLOG(3) << "Going to gather client ips";
|
|
|
|
|
size_t len = host_sign_list.size();
|
|
|
|
|
pslib_ptr_->gather_clients(const_cast<uint64_t*>(host_sign_list.data()),
|
|
|
|
|
len);
|
|
|
|
|
pslib_ptr_->gather_clients(const_cast<uint64_t*>(host_sign_list.data()), len);
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|