From dd86fe94cb3bf5d86d484190541c6725c3e8a6e2 Mon Sep 17 00:00:00 2001 From: guohongzilong <2713219276@qq.com> Date: Fri, 12 Jun 2020 17:26:43 +0800 Subject: [PATCH] add dumpmode for dump function --- mindspore/ccsrc/utils/context/ms_context.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/mindspore/ccsrc/utils/context/ms_context.cc b/mindspore/ccsrc/utils/context/ms_context.cc index a726d79cd52..aa6fe1157ed 100644 --- a/mindspore/ccsrc/utils/context/ms_context.cc +++ b/mindspore/ccsrc/utils/context/ms_context.cc @@ -281,6 +281,7 @@ void MsContext::GetGeOptions(std::map *ge_options) con (*ge_options)["device_id"] = "0"; (*ge_options)["ge.exec.enableDump"] = std::to_string(enable_dump_); (*ge_options)["ge.exec.dumpPath"] = save_dump_path_; + (*ge_options)["ge.exec.dumpMode"] = "output"; MS_LOG(INFO) << "The enable dump state is " << std::to_string(enable_dump_) << " and save dump path is " << save_dump_path_ << "."; (*ge_options)["ge.exec.profilingMode"] = std::to_string(profiling_mode_);