Searched refs:resource_manager (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_stream_assign.cc | 592 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() 626 …resource_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 …]
|
D | ascend_kernel_runtime.cc | 491 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() 504 …resource_manager.get_cur_stream_num(), graph.label_num(), resource_manager.get_cur_event_num(), 0); in GenTask()
|
/third_party/cef/tests/shared/browser/ |
D | extension_util.cc | 192 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()
|
D | extension_util.h | 60 CefRefPtr<CefResourceManager> resource_manager);
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | kernel_adjust.cc | 142 …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/ |
D | test_runner.cc | 799 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()
|
D | test_runner.h | 41 void SetupResourceManager(CefRefPtr<CefResourceManager> resource_manager,
|