From 741b7cfda9e6b921fba69b7a6ed904a3b5406f02 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Mon, 4 Feb 2019 23:02:47 +0800 Subject: [PATCH] fix compile test=develop --- paddle/fluid/operators/distributed/parameter_send.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/operators/distributed/parameter_send.cc b/paddle/fluid/operators/distributed/parameter_send.cc index 38b64c3fcd..efe094fd1f 100644 --- a/paddle/fluid/operators/distributed/parameter_send.cc +++ b/paddle/fluid/operators/distributed/parameter_send.cc @@ -48,7 +48,6 @@ void ParameterSend::operator()(const std::string &var_name, platform::DeviceContextPool &pool = platform::DeviceContextPool::Instance(); auto &cpu_ctx = *pool.Get(platform::CPUPlace()); - auto &actual_ctx = *pool.Get(ctx.GetPlace()); distributed::RPCClient *rpc_client = distributed::RPCClient::GetInstance( -- GitLab