提交 96cf90c8 编写于 作者: S sneaxiy

update

上级 1cbffbc4
......@@ -19,7 +19,8 @@
#include "paddle/fluid/framework/details/share_tensor_buffer_functor.h"
DEFINE_bool(new_executor_use_inplace, true, "Use inplace in new executor");
PADDLE_DEFINE_EXPORTED_bool(new_executor_use_inplace, true,
"Use inplace in new executor");
namespace paddle {
namespace framework {
......
......@@ -189,10 +189,10 @@ def __bootstrap__():
sysstr = platform.system()
if 'Darwin' in sysstr:
remove_flags_if_exists('use_pinned_memory')
remove_flag_if_exists('use_pinned_memory')
if os.name == 'nt':
remove_flags_if_exists('cpu_deterministic')
remove_flag_if_exists('cpu_deterministic')
core.init_gflags(["--tryfromenv=" + ",".join(read_env_flags)])
# Note(zhouwei25): sys may not have argv in some cases,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册