Home
last modified time | relevance | path

Searched refs:runtime_map_ (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime_manager.cc35 for (auto &iter : runtime_map_) { in ClearRuntimeResource()
40 runtime_map_.clear(); in ClearRuntimeResource()
45 for (auto &iter : runtime_map_) { in ClearGraphResource()
73 auto runtime_iter = runtime_map_.find(runtime_key); in GetSingleKernelRuntime()
74 if (runtime_iter != runtime_map_.end()) { in GetSingleKernelRuntime()
76 } else if (!runtime_map_.empty()) { in GetSingleKernelRuntime()
77 auto cur_runtime_key = runtime_map_.begin()->first; in GetSingleKernelRuntime()
96 auto runtime_iter = runtime_map_.find(runtime_key); in GetKernelRuntime()
97 if (runtime_iter != runtime_map_.end()) { in GetKernelRuntime()
107 runtime_map_[runtime_key] = kernel_runtime; in GetKernelRuntime()
[all …]
Dkernel_runtime_manager.h49 std::map<std::string, std::shared_ptr<KernelRuntime> > runtime_map_; variable