/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | arithmetic_simplify.cc | 32 if (MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode) { in operator ()() 44 if (MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in operator ()() 78 if (MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in operator ()()
|
D | gradient_eliminate.cc | 115 if (MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in operator ()()
|
D | item_tuple_or_list_eliminate.h | 216 if (execution_mode == kPynativeMode) { in operator()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_memory_pool.cc | 62 const bool pynative_mode = (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode); in CalMemBlockAllocSize()
|
D | ascend_device_address.cc | 85 if (execution_mode != kPynativeMode || kind != RT_MEMCPY_HOST_TO_DEVICE) { in SyncMemory() 166 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode && in SyncStream() 321 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode && in SyncDeviceToHostAndConvertFormat()
|
D | ascend_kernel_runtime.cc | 246 context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in ReportProfilingData() 331 if (execution_mode == kPynativeMode && profiling_flag) { in Init() 764 } else if (AnfAlgo::IsIndependentNode(node) && mode != kPynativeMode) { in SetKernelModStream()
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | backend.cc | 104 const bool pynative_mode = (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode); in MsConvert() 215 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode) { in CreateOutputTensor() 286 const bool pynative_mode = (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode); in MsRunGraph() 352 const bool pynative_mode = (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode); in MindRTBackend() 447 if (contain_multi_target && ms_execution_mode_ == kPynativeMode) { in CompileGraph() 823 if (real_execution_mode_ == kPynativeMode) { in RunGraph()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | opt.cc | 308 if (MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode) { in ApplySubstitutionsToIR() 343 MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode && in operator ()()
|
D | optimizer.h | 204 if (MsContext::GetInstance()->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode) {
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/ |
D | batch_norm_relu_grad_fusion.cc | 52 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in Process()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_device_address.cc | 103 if (execution_mode != kPynativeMode) { in SyncHostToDevice()
|
D | kernel_info_setter.cc | 205 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in IsNeedProcessFormatInfo()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/ |
D | conv2d_unify_mindir.cc | 102 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in CreateTranspose() 130 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in CreateTranspose()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/ |
D | rectify_do_mask_kernel_info.cc | 41 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in Process()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/cpu/ |
D | insert_cast_cpu.cc | 136 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode) { in Run()
|
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/gpu/ |
D | gpu_device_context.cc | 370 bool is_pynative_mode = ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode; in UpdateDynamicShape() 425 if ((ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) && in LaunchKernel()
|
/third_party/mindspore/mindspore/core/utils/ |
D | ms_context.h | 49 const int kPynativeMode = 1; variable
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_kernel_runtime.cc | 68 if (context_ptr->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in AssignKernelAddress() 325 if (context_ptr->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in BindInputTensorAddressPtr()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/ |
D | hcom_util.cc | 29 return ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode; in IsPyNativeMode()
|
D | hccl_kernel.cc | 201 mode == kPynativeMode) { in GetWorkspaceSizeList()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | gpu_session.cc | 361 ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in LoadInputData() 443 const bool pynative_mode = context_ptr->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode; in CompileGraphImpl()
|
D | cpu_session.cc | 87 …if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode && ps::PSContext::instance(… in Optimize()
|
D | session_basic.cc | 154 return ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode; in IsPynativeMode() 237 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode && in CreateNodeOutputTensor() 1626 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode && in UpdateOutputs() 1643 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) != kPynativeMode) { in UpdateOutputs() 2079 if (context_ptr->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in ConstructOutput() 2469 const bool pynative_mode = (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode); in InitAllBucket()
|
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/ |
D | dump_json_parser.cc | 77 if (context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in IsDumpEnabled()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/ |
D | tbe_adapter.cc | 374 if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kPynativeMode) { in FormatPass()
|