提交 db405872 编写于 作者: G guohongzilong 提交者: 高东海

pass str to ge.exec.EnableDump

上级 5583532e
......@@ -277,7 +277,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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册