Home
last modified time | relevance | path

Searched refs:MS_CTX_ENABLE_PYNATIVE_INFER (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/hardware/gpu/
Dgpu_device_context.cc330 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpHideNopNode()
338 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpRemoveNopNode()
369 bool is_pynative_infer = ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in UpdateDynamicShape()
/third_party/mindspore/mindspore/core/utils/
Dms_context.cc77 set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, false); in MsContext()
Dms_context.h77 MS_CTX_ENABLE_PYNATIVE_INFER, enumerator
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_session.cc327 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in TensorNeedSync()
823 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in BindAddressToTensor()
1983 auto infer_flag = ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in ExecuteAllTaskInQueue()
1984 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, true); in ExecuteAllTaskInQueue()
1998 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, infer_flag); in ExecuteAllTaskInQueue()
Dsession_basic.cc1627 ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in UpdateOutputs()
2183 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in ConstructSingleOpGraph()
2372 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpRemoveNopNode()
2380 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpHideNopNode()
Dgpu_session.cc346 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in LoadInputData()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_compiler.cc123 bool is_pynative_infer = ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in CreateDeviceAddressForTensorValue()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.cc981 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER) && in AssignValueNodeTensor()
1020 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in AssignStaticMemoryValueNode()
1043 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER) && in AssignStaticMemoryValueNode()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_device_address.cc167 !ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in SyncStream()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc1933 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, true); in RunOpInMs()
1989 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, false); in RunOpInMs()
3193 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, false); in ClearRes()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_runtime.cc463 bool is_enable_pynative_infer = context_ptr->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in Run()