/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | graph_kernel_expander.cc | 61 {kAscendDevice, OpLevel_0, prim::kLambApplyOptimizerAssign}, in GetExpandOps() 62 {kAscendDevice, OpLevel_0, prim::kLambApplyWeightAssign}, in GetExpandOps() 63 {kAscendDevice, OpLevel_0, prim::kPrimClipByNormNoDivSum}, in GetExpandOps() 64 {kAscendDevice, OpLevel_0, prim::kPrimSqrtGrad}, in GetExpandOps() 65 {kAscendDevice, OpLevel_1, prim::kSoftmaxGradExt}, in GetExpandOps() 66 {kAscendDevice, OpLevel_0, prim::kFusedMulAdd}, in GetExpandOps()
|
D | graph_kernel_cluster.cc | 58 {kAscendDevice, OpLevel_1, prim::kPrimMatMul}, in GetClusterableOpList() 59 {kAscendDevice, OpLevel_1, prim::kPrimTransData}, in GetClusterableOpList() 60 {kAscendDevice, OpLevel_1, prim::kPrimBatchMatMul}, in GetClusterableOpList()
|
D | graph_kernel_optimization.cc | 203 is_ascend = (context_ptr->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice); in Run()
|
/third_party/mindspore/tests/ut/cpp/tbe/ |
D | tbe_json_creator_test.cc | 44 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 89 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 132 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 190 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 244 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 315 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | ascend_session.cc | 379 void AscendSession::Init(uint32_t device_id) { InitExecutor(kAscendDevice, device_id); } in Init() 514 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in LoadInputData() 629 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in CompileGraphImpl() 740 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in CompileChildGraph() 1229 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in InitRuntimeResource() 1333 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in BuildDynamicKernel() 1473 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in MemoryAlloc() 1482 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in RunOpMemoryAlloc() 1490 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in RunOpMemoryAllocNew() 1497 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in RunOpGenKernelEvent() [all …]
|
D | session_context.h | 34 explicit Context(std::string target = kAscendDevice, uint32_t device_id = 0)
|
D | executor.cc | 493 if (device_name_ == kAscendDevice) { in OnWorkerExit() 494 device::KernelRuntimeManager::Instance().ReleaseKernelRuntime(kAscendDevice, device_id_); in OnWorkerExit()
|
D | ascend_session.h | 180 MS_REG_SESSION(kAscendDevice, AscendSession);
|
/third_party/mindspore/mindspore/core/utils/ |
D | ms_context.h | 52 const char kAscendDevice[] = "Ascend"; variable 60 const std::set<std::string> kTargetSet = {kCPUDevice, kGPUDevice, kAscendDevice, kDavinciDevice};
|
D | ms_context.cc | 82 set_param<bool>(MS_CTX_ENABLE_LOOP_SINK, target == kAscendDevice || target == kDavinciDevice); in MsContext()
|
/third_party/mindspore/mindspore/ccsrc/utils/context/ |
D | context_extends.cc | 369 device_type_seter.reset(new (std::nothrow) MsContext("ge", kAscendDevice)); in DeviceTypeSetRegister() 371 device_type_seter.reset(new (std::nothrow) MsContext("ms", kAscendDevice)); in DeviceTypeSetRegister()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | const_to_attr_strided_slice_grad.cc | 126 if (ms_context->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in Process()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/ |
D | pipeline_split.cc | 33 if (backend == kAscendDevice) { in GetWorldGroup()
|
D | pipeline.cc | 163 if (context_ptr->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in SetLoopCount() 1300 ms_context->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in InitHccl() 1396 ms_context->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in StartUpProfiling()
|
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/ |
D | dump_json_parser.cc | 242 if (context->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in ParseCommonDumpSetting() 289 if (e2e_dump_enabled_ && context->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in ParseE2eDumpSetting() 499 if (context->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice) { in JudgeDumpEnabled()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_kernel_runtime.h | 125 MS_REG_KERNEL_RUNTIME(kAscendDevice, AscendKernelRuntime);
|
D | ascend_device_address.cc | 80 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in SyncMemory() 106 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in DataSync() 172 …auto runtime_instance = device::KernelRuntimeManager::Instance().GetKernelRuntime(kAscendDevice, d… in SyncStream()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/ |
D | transfer_node.cc | 90 } else if (device_type_ == kAscendDevice) { in Build()
|
/third_party/mindspore/mindspore/core/ops/ |
D | bias_add.cc | 59 auto is_ascend = (context_ptr->get_param<std::string>(MS_CTX_DEVICE_TARGET) == kAscendDevice); in InferShape()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/ |
D | ai_core_dynamic_kernel.cc | 155 …auto runtime_instance = KernelRuntimeManager::Instance().GetSingleKernelRuntime(kAscendDevice, dev… in AllocateWorkspace()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/ |
D | batchnorm_info.cc | 216 if (backend != kAscendDevice && backend != kDavinciDevice) { in InferReplaceOps()
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | comm_manager.cc | 218 if (backend == kAscendDevice) { in GetRank()
|
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/ascend/ |
D | ascend_ps_cache.cc | 39 MS_REG_PS_CACHE(kAscendDevice, AscendPsCache);
|
/third_party/mindspore/mindspore/core/abstract/ |
D | primitive_infer_map.cc | 72 if (device == kAscendDevice) { in GetDependsFormMap()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/ascend/ |
D | ascend_graph_impl.cc | 306 ms_context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in MsEnvGuard()
|