Browse Source

pass str to ge.exec.EnableDump

tags/v0.2.0-alpha
guohongzilong 5 years ago
parent
commit
15d061f852
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/utils/context/ms_context.cc

+ 1
- 1
mindspore/ccsrc/utils/context/ms_context.cc View File

@@ -274,7 +274,7 @@ void MsContext::SetHcclOptions(std::map<std::string, std::string>* ge_options) c
void MsContext::GetGeOptions(std::map<std::string, std::string>* ge_options) const {
#ifdef ENABLE_GE
(*ge_options)["device_id"] = "0";
(*ge_options)["ge.exec.enableDump"] = enable_dump_;
(*ge_options)["ge.exec.enableDump"] = std::to_string(enable_dump_);
(*ge_options)["ge.exec.dumpPath"] = save_dump_path_;
// only not supported in ge
auto tbe_plugin_path = common::GetEnv("ME_TBE_PLUGIN_PATH");


Loading…
Cancel
Save