Home
last modified time | relevance | path

Searched refs:env_enable_str (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/debug/
Denv_config_parser.cc41 std::string env_enable_str = common::GetEnv(ENV_RDR_ENABLE); in GetRdrEnableFromEnv() local
42 if (!env_enable_str.empty()) { in GetRdrEnableFromEnv()
43 …(void)std::transform(env_enable_str.begin(), env_enable_str.end(), env_enable_str.begin(), ::tolow… in GetRdrEnableFromEnv()
44 if (env_enable_str != "0" && env_enable_str != "1") { in GetRdrEnableFromEnv()
47 if (env_enable_str == "1") { in GetRdrEnableFromEnv()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Ddebugger.cc220 std::string env_enable_str = common::GetEnv("ENABLE_MS_DEBUGGER"); in CheckDebuggerEnabled() local
221 if (!env_enable_str.empty()) { in CheckDebuggerEnabled()
222 …(void)std::transform(env_enable_str.begin(), env_enable_str.end(), env_enable_str.begin(), ::tolow… in CheckDebuggerEnabled()
223 if ((env_enable_str == "1" || env_enable_str == "true") && device_target_ != kCPUDevice) { in CheckDebuggerEnabled()
232 std::string env_enable_str = common::GetEnv("ENABLE_MS_DEBUGGER"); in CheckDebuggerEnabledParam() local
233 if (!env_enable_str.empty()) { in CheckDebuggerEnabledParam()
234 …(void)std::transform(env_enable_str.begin(), env_enable_str.end(), env_enable_str.begin(), ::tolow… in CheckDebuggerEnabledParam()
235 …if (env_enable_str != "0" && env_enable_str != "1" && env_enable_str != "false" && env_enable_str in CheckDebuggerEnabledParam()
237 << env_enable_str; in CheckDebuggerEnabledParam()