Home
last modified time | relevance | path

Searched refs:MS_CTX_TSD_REF (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/utils/context/
Dcontext_extends.cc57 if (ms_context_ptr->get_param<uint32_t>(MS_CTX_TSD_REF)) { in OpenTsd()
59 ms_context_ptr->increase_param<uint32_t>(MS_CTX_TSD_REF); in OpenTsd()
97 ms_context_ptr->increase_param<uint32_t>(MS_CTX_TSD_REF); in OpenTsd()
111 if (ms_context_ptr->get_param<uint32_t>(MS_CTX_TSD_REF) == 0) { in CloseTsd()
114 ms_context_ptr->decrease_param<uint32_t>(MS_CTX_TSD_REF); in CloseTsd()
115 if (force || ms_context_ptr->get_param<uint32_t>(MS_CTX_TSD_REF) == 0) { in CloseTsd()
116 ms_context_ptr->set_param<uint32_t>(MS_CTX_TSD_REF, 0); in CloseTsd()
137 << ms_context_ptr->get_param<uint32_t>(MS_CTX_TSD_REF) << "."; in CloseTsd()
308 …t_ptr->get_param<uint32_t>(MS_CTX_GE_REF) || ms_context_ptr->get_param<uint32_t>(MS_CTX_TSD_REF)) { in PynativeInitGe()
354 return ms_context_ptr->get_param<uint32_t>(MS_CTX_TSD_REF) > 0; in IsTsdOpened()
/third_party/mindspore/mindspore/core/utils/
Dms_context.cc50 set_param<uint32_t>(MS_CTX_TSD_REF, 0); in MsContext()
133 … "Success to create acltdt handle, tsd reference = " << get_param<uint32_t>(MS_CTX_TSD_REF) << "."; in CreateTensorPrintThread()
Dms_context.h108 MS_CTX_TSD_REF, enumerator