Searched refs:available_mem_size (Results 1 – 2 of 2) sorted by relevance
243 auto available_mem_size = mem_handler_->GetAvailableMemSize(); in CheckMemSize() local244 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() local287 auto threshold = available_mem_size * mem_used_factor_; in GenNoSwapEventSet()
219 auto available_mem_size = AscendMemoryPool::GetInstance().free_mem_size() + in GetAvailableMemSize() local222 return available_mem_size; in GetAvailableMemSize()