Home
last modified time | relevance | path

Searched refs:inst_context_ (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/core/utils/
Dms_context.cc27 std::shared_ptr<MsContext> MsContext::inst_context_ = nullptr; member in mindspore::MsContext
105 if (inst_context_ == nullptr) { in GetInstance()
108 device_type_seter_(inst_context_); in GetInstance()
111 return inst_context_; in GetInstance()
Dms_context.h185 static std::shared_ptr<MsContext> inst_context_; variable
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dcontext.cc39 std::shared_ptr<ParallelContext> ParallelContext::inst_context_ = nullptr; member in mindspore::parallel::ParallelContext
42 if (inst_context_ == nullptr) { in GetInstance()
43 inst_context_.reset(new (std::nothrow) ParallelContext()); in GetInstance()
45 return inst_context_; in GetInstance()
Dcontext.h144 static std::shared_ptr<ParallelContext> inst_context_; variable