From a6edc0389e11787c57aa1881ae01bebf025715f2 Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Tue, 9 Jan 2018 23:19:22 -0800 Subject: [PATCH] "fix CI" --- paddle/framework/operator.cc | 5 +++++ paddle/platform/gpu_info.cc | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/paddle/framework/operator.cc b/paddle/framework/operator.cc index c1a6d0221b..0f6071a69e 100644 --- a/paddle/framework/operator.cc +++ b/paddle/framework/operator.cc @@ -11,6 +11,7 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +#include #include #include @@ -22,6 +23,10 @@ limitations under the License. */ #include "paddle/framework/shape_inference.h" #include "paddle/framework/var_type.h" +DEFINE_bool(op_sync, false, + "Default cuda is asynchronous device, set to True will" + "force op run in synchronous mode."); + namespace paddle { namespace framework { diff --git a/paddle/platform/gpu_info.cc b/paddle/platform/gpu_info.cc index 9d3147362a..7037551d75 100644 --- a/paddle/platform/gpu_info.cc +++ b/paddle/platform/gpu_info.cc @@ -22,10 +22,6 @@ DEFINE_double(fraction_of_gpu_memory_to_use, 0.92, "Default use 92% of GPU memory for PaddlePaddle," "reserve the rest for page tables, etc"); -DEFINE_bool(op_sync, false, - "Default cuda is asynchronous device, set to True will" - "force op run in synchronous mode."); - namespace paddle { namespace platform { -- GitLab