forked from mindspore-Ecosystem/mindspore
!98 Pass str instead of bool to ge.exec.EnableDump
Merge pull request !98 from ghzl/ge-exec-EnableDump-change-to-str
This commit is contained in:
commit
367f513e8c
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue