/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/ |
D | reconstruct_secrets_kernel.cc | 27 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 28 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 42 << LocalMetaStore::GetInstance().curr_iter_num(); in InitKernel() 43 …DistributedCountService::GetInstance().RegisterCounter(name_unmask_, ps::PSContext::instance()->in… in InitKernel() 50 size_t iter_num = LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 51 size_t total_duration = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in Launch() 73 DistributedMetadataStore::GetInstance().GetMetadata(kCtxUpdateModelClientList); in Launch() 84 if (DistributedCountService::GetInstance().CountReachThreshold(name_)) { in Launch() 103 … (void)DistributedCountService::GetInstance().Count(name_, reconstruct_secret_req->fl_id()->str()); in Launch() 105 if (DistributedCountService::GetInstance().CountReachThreshold(name_)) { in Launch() [all …]
|
D | update_model_kernel.cc | 28 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 29 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 32 executor_ = &Executor::GetInstance(); in InitKernel() 40 DistributedMetadataStore::GetInstance().RegisterMetadata(kCtxUpdateModelClientList, client_list); in InitKernel() 41 LocalMetaStore::GetInstance().put_value(kCtxUpdateModelThld, threshold_count); in InitKernel() 42 LocalMetaStore::GetInstance().put_value(kCtxFedAvgTotalDataSize, kInitialDataSizeSum); in InitKernel() 107 DistributedCountService::GetInstance().ResetCounter(name_); in Reset() 109 DistributedMetadataStore::GetInstance().ResetMetadata(kCtxUpdateModelClientList); in Reset() 110 …size_t &total_data_size = LocalMetaStore::GetInstance().mutable_value<size_t>(kCtxFedAvgTotalDataS… in Reset() 121 size_t total_data_size = LocalMetaStore::GetInstance().value<size_t>(kCtxFedAvgTotalDataSize); in OnLastCountEvent() [all …]
|
D | start_fl_job_kernel.cc | 34 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 35 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 38 …LocalMetaStore::GetInstance().put_value(kCtxIterationNextRequestTimestamp, iter_next_req_timestamp… in InitKernel() 40 executor_ = &Executor::GetInstance(); in InitKernel() 48 DistributedMetadataStore::GetInstance().RegisterMetadata(kCtxDeviceMetas, devices_metas); in InitKernel() 90 … std::to_string(LocalMetaStore::GetInstance().value<uint64_t>(kCtxIterationNextRequestTimestamp))); in Launch() 105 …if (!DistributedMetadataStore::GetInstance().UpdateMetadata(kCtxDeviceMetas, metadata, &update_rea… in Launch() 109 … std::to_string(LocalMetaStore::GetInstance().value<uint64_t>(kCtxIterationNextRequestTimestamp))); in Launch() 128 DistributedCountService::GetInstance().ResetCounter(name_); in Reset() 129 DistributedMetadataStore::GetInstance().ResetMetadata(kCtxDeviceMetas); in Reset() [all …]
|
D | exchange_keys_kernel.cc | 27 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 28 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 31 executor_ = &Executor::GetInstance(); in InitKernel() 38 cipher_key_ = &armour::CipherKeys::GetInstance(); in InitKernel() 42 if (DistributedCountService::GetInstance().CountReachThreshold(name_)) { in ReachThresholdForExchangeKeys() 46 … std::to_string(LocalMetaStore::GetInstance().value<uint64_t>(kCtxIterationNextRequestTimestamp)), in ReachThresholdForExchangeKeys() 58 if (!DistributedCountService::GetInstance().Count(name_, exchange_keys_req->fl_id()->str())) { in CountForExchangeKeys() 62 … std::to_string(LocalMetaStore::GetInstance().value<uint64_t>(kCtxIterationNextRequestTimestamp)), in CountForExchangeKeys() 74 size_t iter_num = LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 75 size_t total_duration = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in Launch() [all …]
|
D | get_secrets_kernel.cc | 30 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 31 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 34 executor_ = &Executor::GetInstance(); in InitKernel() 41 cipher_share_ = &armour::CipherShares::GetInstance(); in InitKernel() 47 if (!DistributedCountService::GetInstance().Count(name_, get_secrets_req->fl_id()->str())) { in CountForGetSecrets() 60 size_t iter_num = LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 61 MS_LOG(INFO) << "ITERATION NUMBER IS : " << LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 63 size_t total_duration = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in Launch() 92 if (DistributedCountService::GetInstance().CountReachThreshold(name_)) { in Launch() 114 MS_LOG(INFO) << "ITERATION NUMBER IS : " << LocalMetaStore::GetInstance().curr_iter_num(); in Reset() [all …]
|
D | get_keys_kernel.cc | 26 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 27 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 30 executor_ = &Executor::GetInstance(); in InitKernel() 37 cipher_key_ = &armour::CipherKeys::GetInstance(); in InitKernel() 43 if (!DistributedCountService::GetInstance().Count(name_, get_keys_req->fl_id()->str())) { in CountForGetKeys() 47 …std::to_string(LocalMetaStore::GetInstance().value<uint64_t>(kCtxIterationNextRequestTimestamp)), … in CountForGetKeys() 58 size_t iter_num = LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 59 size_t total_duration = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in Launch() 78 if (DistributedCountService::GetInstance().CountReachThreshold(name_)) { in Launch() 110 …MS_LOG(INFO) << "get keys kernel reset! ITERATION NUMBER IS : " << LocalMetaStore::GetInstance().c… in Reset() [all …]
|
D | client_list_kernel.cc | 29 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 30 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 33 executor_ = &Executor::GetInstance(); in InitKernel() 39 cipher_init_ = &armour::CipherInit::GetInstance(); in InitKernel() 48 if (!LocalMetaStore::GetInstance().has_value(kCtxUpdateModelThld)) { in DealClient() 54 …uint64_t update_model_client_needed = LocalMetaStore::GetInstance().value<uint64_t>(kCtxUpdateMode… in DealClient() 55 …PBMetadata client_list_pb_out = DistributedMetadataStore::GetInstance().GetMetadata(kCtxUpdateMode… in DealClient() 85 if (!DistributedCountService::GetInstance().Count(name_, get_clients_req->fl_id()->str())) { in DealClient() 105 size_t iter_num = LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 106 size_t total_duration = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in Launch() [all …]
|
D | share_secrets_kernel.cc | 26 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 27 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 30 executor_ = &Executor::GetInstance(); in InitKernel() 36 cipher_share_ = &armour::CipherShares::GetInstance(); in InitKernel() 42 if (!DistributedCountService::GetInstance().Count(name_, share_secrets_req->fl_id()->str())) { in CountForShareSecrets() 55 size_t iter_num = LocalMetaStore::GetInstance().curr_iter_num(); in Launch() 56 size_t total_duration = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in Launch() 75 if (DistributedCountService::GetInstance().CountReachThreshold(name_)) { in Launch() 112 …share_secrets_kernel reset! ITERATION NUMBER IS : " << LocalMetaStore::GetInstance().curr_iter_num… in Reset() 113 DistributedCountService::GetInstance().ResetCounter(name_); in Reset()
|
D | get_model_kernel.cc | 30 if (LocalMetaStore::GetInstance().has_value(kCtxTotalTimeoutDuration)) { in InitKernel() 31 iteration_time_window_ = LocalMetaStore::GetInstance().value<size_t>(kCtxTotalTimeoutDuration); in InitKernel() 34 executor_ = &Executor::GetInstance(); in InitKernel() 63 …BuildGetModelRsp(fbb, schema::ResponseCode_RequestError, reason, LocalMetaStore::GetInstance().cur… in Launch() 95 …auto next_req_time = LocalMetaStore::GetInstance().value<uint64_t>(kCtxIterationNextRequestTimesta… in GetModel() 97 size_t current_iter = LocalMetaStore::GetInstance().curr_iter_num(); in GetModel() 99 const auto &iter_to_model = ModelStore::GetInstance().iteration_to_model(); in GetModel() 118 feature_maps = ModelStore::GetInstance().GetModelByIterNum(latest_iter_num); in GetModel() 120 feature_maps = ModelStore::GetInstance().GetModelByIterNum(get_model_iter); in GetModel() 123 …MS_LOG(INFO) << "GetModel last iteration is valid or not: " << Iteration::GetInstance().is_last_it… in GetModel()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_memory_manager.cc | 61 auto context_ptr = MsContext::GetInstance(); in MallocDeviceMemory() 74 AscendMemoryPool::GetInstance().Init(device_mem_base_, device_mem_size_, dynamic_mem_offset_); in MallocDeviceMemory() 83 auto context = MsContext::GetInstance(); in GetDeviceMemSizeFromContext() 121 AscendMemoryPool::GetInstance().set_graph_dynamic_mem_offset(dynamic_mem_offset_); in ResetDynamicMemory() 124 void AscendMemoryManager::ClearGlobalIdleMem() { AscendMemoryPool::GetInstance().ResetIdleMemBuf();… in ClearGlobalIdleMem() 128 return AscendMemoryPool::GetInstance().AllocTensorMem(align_size); in MallocMemFromMemPool() 132 AscendMemoryPool::GetInstance().FreeTensorMem(device_ptr); in FreeMemFromMemPool() 142 auto device_mem_pool_offset = AscendMemoryPool::GetInstance().device_mem_pool_offset(); in MallocStaticMem() 145 …<< "], Pool statistics: pool total size [" << AscendMemoryPool::GetInstance().total_mem_statistics… in MallocStaticMem() 146 << "] used [" << AscendMemoryPool::GetInstance().used_mem_statistics() in MallocStaticMem() [all …]
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_memory_manager.cc | 28 return GPUMemoryAllocator::GetInstance().AllocTensorMem(size); in MallocMemFromMemPool() 32 GPUMemoryAllocator::GetInstance().FreeTensorMem(device_ptr); in FreeMemFromMemPool() 36 return GPUMemoryAllocator::GetInstance().AllocContinuousTensorMem(total_size, size_list); in MallocContinuousMemFromMemPool() 48 auto &stream = GPUDeviceManager::GetInstance().default_stream(); in MallocContinuousMemFromMemPool() 59 …GPUDeviceManager::GetInstance().CopyDeviceMemToDeviceAsync(new_addr, old_addr, size_list[i], strea… in MallocContinuousMemFromMemPool() 68 return GPUDeviceManager::GetInstance().SyncStream(stream); in MallocContinuousMemFromMemPool() 74 auto context_ptr = MsContext::GetInstance(); in MallocDeviceMemory() 88 …size_t mem_size = FloatToSize(GPUMemoryAllocator::GetInstance().free_mem_size() * init_gpu_mem_rat… in MallocDeviceMemory() 90 …GPUMemoryAllocator::GetInstance().AllocDeviceMem(mem_size, reinterpret_cast<void **>(&device_mem_b… in MallocDeviceMemory() 98 if (!GPUMemoryAllocator::GetInstance().FreeDeviceMem(device_mem_base_)) { in FreeDeviceMemory() [all …]
|
D | gpu_device_address.cc | 50 auto &stream = GPUDeviceManager::GetInstance().default_stream(); in SyncDeviceToHost() 52 auto ret = GPUDeviceManager::GetInstance().SyncStream(stream); in SyncDeviceToHost() 64 return GPUDeviceManager::GetInstance().CopyDeviceMemToHost(host_ptr, ptr_, size); in SyncDeviceToHost() 85 auto &stream = GPUDeviceManager::GetInstance().default_stream(); in SyncHostToDevice() 87 if (!GPUDeviceManager::GetInstance().CopyHostMemToDeviceAsync(ptr_, host_ptr, size, stream)) { in SyncHostToDevice() 91 return GPUDeviceManager::GetInstance().SyncStream(stream); in SyncHostToDevice() 100 auto ms_context = MsContext::GetInstance(); in SyncHostToDevice() 113 auto &stream = GPUDeviceManager::GetInstance().default_stream(); in SyncHostToDevice() 115 return GPUDeviceManager::GetInstance().CopyHostMemToDeviceAsync(ptr_, host_ptr, size, stream); in SyncHostToDevice() 123 GPUMemoryAllocator::GetInstance().FreeTensorMem(ptr_); in ClearDeviceMemory() [all …]
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | comm_manager.cc | 40 CommManager &CommManager::GetInstance() noexcept { in GetInstance() function in mindspore::CommManager 74 auto context_ptr = MsContext::GetInstance(); in CreateGroupSync() 82 hccl::HcclAdapter::GetInstance().HcclCreateGroup(group, UlongToUint(rank_size), in CreateGroupSync() 89 auto context = MsContext::GetInstance(); in GetRankID() 96 …HCCL_RUN_CHECK(string("get rank_id"), group, hccl::HcclAdapter::GetInstance().HcclGetRankId(group,… in GetRankID() 99 …HCCL_RUN_CHECK(string("get rank_id"), group, hccl::HcclAdapter::GetInstance().HcclGetRankId(rank_i… in GetRankID() 105 auto context = MsContext::GetInstance(); in GetRankSize() 113 hccl::HcclAdapter::GetInstance().HcclGetRankSize(group, rank_size)); in GetRankSize() 116 …HCCL_RUN_CHECK(string("get rank size"), group, hccl::HcclAdapter::GetInstance().HcclGetRankSize(ra… in GetRankSize() 124 …HCCL_RUN_CHECK(string("destroy communicate group"), group, hccl::HcclAdapter::GetInstance().HcclDe… in DestroyGroup() [all …]
|
/third_party/cef/libcef/browser/ |
D | browser_context_keyed_service_factories.cc | 22 CookieSettingsFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt() 23 media_router::ChromeMediaRouterFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt() 24 PluginPrefsFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt() 26 RendererUpdaterFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt() 27 SpellcheckServiceFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt() 28 ThemeServiceFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt() 32 extensions::RendererStartupHelperFactory::GetInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt()
|
/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/ |
D | opencl_runtime_wrapper.cc | 36 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in LoadSource() 49 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in BuildKernel() 60 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in SetKernelArg() 71 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in RunKernel() 81 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in SyncCommandQueue() 91 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in MapBuffer() 97 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in UnmapBuffer() 107 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in ReadImage() 117 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in WriteImage() 127 lite::opencl::OpenCLRuntime *ocl_runtime = ocl_runtime_wrap.GetInstance(); in GetAllocator() [all …]
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/ |
D | pipeline_split.cc | 29 auto ms_context = MsContext::GetInstance(); in GetWorldGroup() 44 auto ms_context = MsContext::GetInstance(); in GetRank() 47 int64_t global_rank = parallel::ParallelContext::GetInstance()->global_rank(); in GetRank() 49 if (!parallel::ParallelContext::GetInstance()->global_rank_is_set()) { in GetRank() 50 if (!CommManager::GetInstance().GetRankID(world_group, &rank_id)) { in GetRank() 73 auto parallel_mode = parallel::ParallelContext::GetInstance()->parallel_mode(); in PipelineSplit() 78 auto stage_num = parallel::ParallelContext::GetInstance()->pipeline_stage_split_num(); in PipelineSplit() 89 if (!parallel::ParallelContext::GetInstance()->device_num_is_set()) { in PipelineSplit() 90 if (!CommManager::GetInstance().GetRankSize(world_group, &world_rank_size)) { in PipelineSplit() 96 device_num = parallel::ParallelContext::GetInstance()->device_num(); in PipelineSplit()
|
D | pipeline_ge.cc | 55 auto graph_runner = DfGraphManager::GetInstance().GetGraphRunner(); in DoExecNonInputGraph() 73 ConfigManager::GetInstance().set_ge_initialize_options(options); in SetGeOption() 77 std::shared_ptr<ge::Session> sess = DfGraphManager::GetInstance().GetGeSession(); in CreateSessionAndGraphRunner() 95 DfGraphManager::GetInstance().SetGeSession(sess); in CreateSessionAndGraphRunner() 106 DfGraphManager::GetInstance().SetGraphRunner(graph_runner); in CreateSessionAndGraphRunner() 120 ConfigManager::GetInstance().set_dataset_mode(DatasetMode::DS_SINK_MODE); in InitExecDatasetGe() 121 ConfigManager::GetInstance().set_iter_num(size); in InitExecDatasetGe() 122 ConfigManager::GetInstance().set_dataset_phase(phase); in InitExecDatasetGe() 125 ConfigManager::GetInstance().set_dataset_param(param); in InitExecDatasetGe() 212 DfGraphManager::GetInstance().ClearGraph(); in AddDFGraph() [all …]
|
D | pipeline.cc | 129 … (MsContext::GetInstance()->get_param<bool>(MS_CTX_GRAD_FOR_SCALAR) && value->isa<Scalar>()); in ArgsToAbstract() 161 int64_t loop_size = ConfigManager::GetInstance().iter_num(); in SetLoopCount() 162 const auto context_ptr = MsContext::GetInstance(); in SetLoopCount() 484 ConfigManager::GetInstance().ResetIterNum(); in DelNetRes() 502 transform::DfGraphManager::GetInstance().DeleteGraphRunner(); in DelNetRes() 503 transform::DfGraphManager::GetInstance().EraseAnfGraph(); in DelNetRes() 504 transform::DfGraphManager::GetInstance().DeleteGeSession(); in DelNetRes() 518 ConfigManager::GetInstance().ResetConfig(); in ~GraphExecutorPy() 643 MS_EXCEPTION_IF_NULL(parallel::ParallelContext::GetInstance()); in SaveCompiledGraph() 644 std::string parallel_mode = parallel::ParallelContext::GetInstance()->parallel_mode(); in SaveCompiledGraph() [all …]
|
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/gpu/ |
D | gpu_device_context.cc | 61 GPUMemoryAllocator::GetInstance().CheckMaxDeviceMemory(); in Initialize() 75 DeviceContextManager::GetInstance().UpdateDeviceContextKey(old_key, device_context_key_); in Initialize() 77 auto ms_context = MsContext::GetInstance(); in Initialize() 103 auto &json_parser = DumpJsonParser::GetInstance(); in Initialize() 112 if (GPUDeviceManager::GetInstance().device_count() <= 0) { in InitDevice() 117 if (!GPUDeviceManager::GetInstance().is_device_id_init()) { in InitDevice() 118 if (!GPUDeviceManager::GetInstance().set_cur_device_id(device_context_key_.device_id_)) { in InitDevice() 125 GPUDeviceManager::GetInstance().InitDevice(); in InitDevice() 127 auto stream = GPUDeviceManager::GetInstance().default_stream(); in InitDevice() 132 GPUDeviceManager::GetInstance().CreateStream(&communication_stream); in InitDevice() [all …]
|
/third_party/mindspore/tests/ut/cpp/device/ |
D | ge_runtime_test.cc | 68 ASSERT_TRUE(TaskFactory::GetInstance().Create(model_context, nullptr) == nullptr); in TEST_F() 78 std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, aicpu_task_info); in TEST_F() 90 std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, aicpu_task_info); in TEST_F() 102 ASSERT_ANY_THROW(TaskFactory::GetInstance().Create(model_context, aicpu_task_info)); in TEST_F() 110 …std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, event_record_task_in… in TEST_F() 120 ASSERT_ANY_THROW(TaskFactory::GetInstance().Create(model_context, event_record_task_info)); in TEST_F() 128 …std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, event_record_task_in… in TEST_F() 138 ASSERT_ANY_THROW(TaskFactory::GetInstance().Create(model_context, event_record_task_info)); in TEST_F() 149 std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, hccl_task_info); in TEST_F() 176 std::shared_ptr<Task> task_1 = TaskFactory::GetInstance().Create(model_context, hccl_task_info_1); in TEST_F() [all …]
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/ |
D | debug_actor.cc | 51 if (DumpJsonParser::GetInstance().GetIterDumpFlag()) { in Debug() 59 auto debugger = Debugger::GetInstance(); in Debug() 81 auto debugger = Debugger::GetInstance(); in DebugOnStepBegin() 88 if (DumpJsonParser::GetInstance().e2e_dump_enabled()) { in DebugOnStepBegin() 89 DumpJsonParser::GetInstance().ClearGraph(); in DebugOnStepBegin() 93 DumpJsonParser::GetInstance().SaveGraph(graphs[i].get()); in DebugOnStepBegin() 107 if (DumpJsonParser::GetInstance().GetIterDumpFlag()) { in DebugOnStepEnd() 113 auto debugger = Debugger::GetInstance(); in DebugOnStepEnd() 122 DumpJsonParser::GetInstance().UpdateDumpIter(); in DebugOnStepEnd()
|
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/ |
D | e2e_dump.cc | 40 auto context = MsContext::GetInstance(); in IsDeviceTargetGPU() 63 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpOutput() 76 DumpJsonParser::GetInstance().MatchKernel(kernel_name); in DumpOutput() 82 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpOutputSingleNode() 92 DumpJsonParser::GetInstance().MatchKernel(kernel_name); in DumpOutputSingleNode() 130 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpInput() 143 DumpJsonParser::GetInstance().MatchKernel(kernel_name); in DumpInput() 149 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpInputSingleNode() 159 DumpJsonParser::GetInstance().MatchKernel(kernel_name); in DumpInputSingleNode() 209 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpSingleAnfNode() [all …]
|
/third_party/mindspore/mindspore/ccsrc/fl/armour/cipher/ |
D | cipher_meta_storage.cc | 28 fl::server::DistributedMetadataStore::GetInstance().GetMetadata(list_name); in GetClientSharesFromServer() 53 …const fl::PBMetadata &client_list_pb_out = fl::server::DistributedMetadataStore::GetInstance().Get… in GetClientListFromServer() 69 fl::server::DistributedMetadataStore::GetInstance().GetMetadata(list_name); in GetClientKeysFromServer() 91 fl::server::DistributedMetadataStore::GetInstance().GetMetadata(list_name); in GetClientIVsFromServer() 115 fl::server::DistributedMetadataStore::GetInstance().GetMetadata(list_name); in GetClientNoisesFromServer() 139 …const fl::PBMetadata &prime_pb_out = fl::server::DistributedMetadataStore::GetInstance().GetMetada… in GetPrimeFromServer() 159 …bool retcode = fl::server::DistributedMetadataStore::GetInstance().UpdateMetadata(list_name, clien… in UpdateClientToServer() 169 fl::server::DistributedMetadataStore::GetInstance().RegisterMetadata(list_name, prime_pb); in RegisterPrime() 190 …bool retcode = fl::server::DistributedMetadataStore::GetInstance().UpdateMetadata(list_name, clien… in UpdateClientKeyToServer() 256 …bool retcode = fl::server::DistributedMetadataStore::GetInstance().UpdateMetadata(list_name, clien… in UpdateClientKeyToServer() [all …]
|
/third_party/cef/libcef/browser/extensions/ |
D | extension_system_factory.cc | 21 GetInstance()->GetServiceForBrowserContext(context, true)); in GetForBrowserContext() 25 CefExtensionSystemFactory* CefExtensionSystemFactory::GetInstance() { in GetInstance() function in extensions::CefExtensionSystemFactory 31 BrowserContextDependencyManager::GetInstance()) { in CefExtensionSystemFactory() 34 DependsOn(ExtensionPrefsFactory::GetInstance()); in CefExtensionSystemFactory() 35 DependsOn(ExtensionRegistryFactory::GetInstance()); in CefExtensionSystemFactory()
|
/third_party/vk-gl-cts/framework/platform/ohos/context/ |
D | tcuOhosNativeContext.cpp | 196 …if (!OHOS::OhosContextI::GetInstance().SetConfig(w, h, ver, pf, surfaceType, profile, static_cast<… in OhosRendContext() 200 OHOS::OhosContextI::GetInstance().InitNativeWindow(); in OhosRendContext() 201 OHOS::OhosContextI::GetInstance().InitEglSurface(); in OhosRendContext() 202 OHOS::OhosContextI::GetInstance().InitEglContext(); in OhosRendContext() 203 OHOS::OhosContextI::GetInstance().MakeCurrent(); in OhosRendContext() 213 OHOS::OhosContextI::GetInstance().GetAttrib(EGL_DEPTH_SIZE), in OhosRendContext() 214 … OHOS::OhosContextI::GetInstance().GetAttrib(EGL_STENCIL_SIZE), in OhosRendContext() 215 OHOS::OhosContextI::GetInstance().GetAttrib(EGL_SAMPLES)); in OhosRendContext() 221 OHOS::OhosContextI::GetInstance().SwapBuffer(); in ~OhosRendContext() 226 OHOS::OhosContextI::GetInstance().SwapBuffer(); in postIterate()
|