Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dmemory_scheduler.cc243 auto available_mem_size = mem_handler_->GetAvailableMemSize(); in CheckMemSize() local
244 if (available_mem_size < min_mem_needed_) { in CheckMemSize()
245 MS_LOG(EXCEPTION) << "Out of memory, as available mem size is " << available_mem_size in CheckMemSize()
248 if (mem_used_without_swap_ > available_mem_size) { in CheckMemSize()
251 …MS_LOG(INFO) << "Available mem size: " << available_mem_size << ", graph needs mem size:" << mem_u… in CheckMemSize()
286 auto available_mem_size = mem_handler_->GetAvailableMemSize(); in GenNoSwapEventSet() local
287 auto threshold = available_mem_size * mem_used_factor_; in GenNoSwapEventSet()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_memory_manager.cc219 auto available_mem_size = AscendMemoryPool::GetInstance().free_mem_size() + in GetAvailableMemSize() local
222 return available_mem_size; in GetAvailableMemSize()