Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_utils.cc478 const char *soc_version_env = nullptr; in GetSocVersion() local
481 soc_version_env = common::SafeCStr(str_soc_version_env); in GetSocVersion()
483 if (soc_version_env != nullptr) { in GetSocVersion()
484 if (std::strcmp(soc_version, soc_version_env) != 0) { in GetSocVersion()
487 ret = rtSetSocVersion(soc_version_env); in GetSocVersion()
491 version = soc_version_env; in GetSocVersion()
492 return soc_version_env; in GetSocVersion()
Dtbe_kernel_build.cc607 const char *soc_version_env = nullptr; in GetSocVersion() local
610 soc_version_env = common::SafeCStr(str_soc_version_env); in GetSocVersion()
612 if (soc_version_env != nullptr) { in GetSocVersion()
613 if (std::strcmp(soc_version, soc_version_env) != 0) { in GetSocVersion()
616 ret = rtSetSocVersion(soc_version_env); in GetSocVersion()
620 return soc_version_env; in GetSocVersion()