From be772741cf2d5db7fd8c0f3cbfe1a1c9a6c6fae9 Mon Sep 17 00:00:00 2001 From: Yancey1989 Date: Thu, 19 Jul 2018 16:44:26 +0800 Subject: [PATCH] compile with cpu --- paddle/fluid/framework/executor.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/paddle/fluid/framework/executor.h b/paddle/fluid/framework/executor.h index 3e78572334d..214ca3dc492 100644 --- a/paddle/fluid/framework/executor.h +++ b/paddle/fluid/framework/executor.h @@ -44,14 +44,12 @@ class Executor { explicit Executor(const platform::Place& place); -#ifdef PADDLE_WITH_DISTRIBUTE /* - * Sending signal to pserver to mark current trainer completed. + * Close this Executor. + * Calling this method will send complete messages to all pserver instances. */ void Close(); -#endif - /* @Brief * Runtime evaluation of the given ProgramDesc under certain Scope * -- GitLab