Skip to content

Commit

Permalink
update the default cpu memory with MKLDNN
Browse files Browse the repository at this point in the history
  • Loading branch information
tensor-tang committed Jun 19, 2018
1 parent f1f8327 commit 9a25f28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion paddle/fluid/platform/cpu_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ DEFINE_double(fraction_of_cpu_memory_to_use, 1,

DEFINE_uint64(initial_cpu_memory_in_mb,
#ifdef PADDLE_WITH_MKLDNN
1000,
/* Aligned with mozga-intel, MKLDNN need at least 5000 MB
* to obtain the best performance*/
5000,
#else
500,
#endif
Expand Down

0 comments on commit 9a25f28

Please sign in to comment.