!1106 Add enable dump log info

Merge pull request !1106 from ghzl/add-enable-dump-log-info
This commit is contained in:
mindspore-ci-bot 2020-05-14 20:37:45 +08:00 committed by Gitee
commit 62783712f3
1 changed files with 2 additions and 0 deletions

View File

@ -280,6 +280,8 @@ void MsContext::GetGeOptions(std::map<std::string, std::string> *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_;
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_);
if (profiling_mode_) {
(*ge_options)["ge.exec.profilingOptions"] = profiling_options_;