Home
last modified time | relevance | path

Searched refs:resource_manager (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_stream_assign.cc592 AscendResourceMng &resource_manager = AscendResourceMng::GetInstance(); in AssignAllNodesStream() local
614 auto common_stream_num = resource_manager.get_cur_stream_num(); in AssignAllNodesStream()
619 auto hcom_stream_num = resource_manager.get_cur_stream_num() - common_stream_num; in AssignAllNodesStream()
624 …auto independent_stream_num = resource_manager.get_cur_stream_num() - common_stream_num - hcom_str… in AssignAllNodesStream()
626resource_manager.get_cur_stream_num() + Uint32tMulWithOverflowCheck(hcom_stream_num, kHcomSecondar… in AssignAllNodesStream()
636 …MS_LOG(INFO) << "After stream assign, total stream nums:" << resource_manager.get_cur_stream_num(); in AssignAllNodesStream()
641 AscendResourceMng &resource_manager = AscendResourceMng::GetInstance(); in AssignCommonStreamId() local
643 uint32_t cur_stream_num = resource_manager.get_cur_stream_num(); in AssignCommonStreamId()
645 cur_common_stream_id = resource_manager.ApplyNewStream(); in AssignCommonStreamId()
647 cur_common_stream_id = resource_manager.GetCurAllocStreamId(); in AssignCommonStreamId()
[all …]
Dascend_kernel_runtime.cc491 AscendResourceMng &resource_manager = AscendResourceMng::GetInstance(); in GenTask() local
497 MS_LOG(INFO) << "Call DavinciModel total stream num:" << resource_manager.get_cur_stream_num() in GenTask()
498 << ", total event num:" << resource_manager.get_cur_event_num() in GenTask()
504resource_manager.get_cur_stream_num(), graph.label_num(), resource_manager.get_cur_event_num(), 0); in GenTask()
/third_party/cef/tests/shared/browser/
Dextension_util.cc192 CefRefPtr<CefResourceManager> resource_manager) { in AddInternalExtensionToResourceManager() argument
198 extension, resource_manager)); in AddInternalExtensionToResourceManager()
209 resource_manager->AddProvider( in AddInternalExtensionToResourceManager()
216 resource_manager->AddDirectoryProvider(origin, resource_dir, 50, in AddInternalExtensionToResourceManager()
Dextension_util.h60 CefRefPtr<CefResourceManager> resource_manager);
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_adjust.cc142 …device::ascend::AscendResourceMng &resource_manager = device::ascend::AscendResourceMng::GetInstan… in InsertIndepentParallel() local
145 uint32_t independent_switch_stream_id = resource_manager.ApplyNewStream(); in InsertIndepentParallel()
161 …device::ascend::AscendResourceMng &resource_manager = device::ascend::AscendResourceMng::GetInstan… in InsertFpBpLoopStreamSwitch() local
162 *fpbp_switch_stream_id = resource_manager.ApplyNewStream(); in InsertFpBpLoopStreamSwitch()
163 *fpbp_stream_id = resource_manager.ApplyNewStream(); in InsertFpBpLoopStreamSwitch()
299 …device::ascend::AscendResourceMng &resource_manager = device::ascend::AscendResourceMng::GetInstan… in InsertGetNextLoopStreamSwitch() local
300 *getnext_switch_stream_id = resource_manager.ApplyNewStream(); in InsertGetNextLoopStreamSwitch()
301 *getnext_stream_id = resource_manager.ApplyNewStream(); in InsertGetNextLoopStreamSwitch()
334 …device::ascend::AscendResourceMng &resource_manager = device::ascend::AscendResourceMng::GetInstan… in InsertGetNextLoopFpBpStartSend() local
335 *fpbp_start_event_id = resource_manager.ApplyNewEvent(); in InsertGetNextLoopFpBpStartSend()
[all …]
/third_party/cef/tests/cefclient/browser/
Dtest_runner.cc799 void SetupResourceManager(CefRefPtr<CefResourceManager> resource_manager, in SetupResourceManager() argument
803 CefPostTask(TID_IO, base::BindOnce(SetupResourceManager, resource_manager, in SetupResourceManager()
811 resource_manager->SetUrlFilter(base::BindRepeating(RequestUrlFilter)); in SetupResourceManager()
814 resource_manager->AddProvider( in SetupResourceManager()
825 resource_manager->AddProvider( in SetupResourceManager()
832 resource_manager->AddProvider( in SetupResourceManager()
839 resource_manager->AddDirectoryProvider(test_origin, resource_dir, 100, in SetupResourceManager()
Dtest_runner.h41 void SetupResourceManager(CefRefPtr<CefResourceManager> resource_manager,