Skip to content

Commit

Permalink
Fix CPU compile (#4781)
Browse files Browse the repository at this point in the history
  • Loading branch information
reyoung committed Oct 13, 2017
1 parent ab01347 commit 9a6dffd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions paddle/framework/executor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ TEST_F(ExecutorTesterFeedAndFetch, GPU) {
}
}
}
#endif

DECLARE_double(fraction_of_gpu_memory_to_use);

Expand All @@ -326,4 +325,6 @@ int main(int argc, char** argv) {
// Use less GPU memory for unittest.
FLAGS_fraction_of_gpu_memory_to_use = 0.25;
return RUN_ALL_TESTS();
}
}

#endif

0 comments on commit 9a6dffd

Please sign in to comment.