Skip to content

Commit be77274

Browse files
committed
compile with cpu
1 parent 9be4ee9 commit be77274

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

paddle/fluid/framework/executor.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,12 @@ class Executor {
4444

4545
explicit Executor(const platform::Place& place);
4646

47-
#ifdef PADDLE_WITH_DISTRIBUTE
4847
/*
49-
* Sending signal to pserver to mark current trainer completed.
48+
* Close this Executor.
49+
* Calling this method will send complete messages to all pserver instances.
5050
*/
5151
void Close();
5252

53-
#endif
54-
5553
/* @Brief
5654
* Runtime evaluation of the given ProgramDesc under certain Scope
5755
*

0 commit comments

Comments
 (0)