Searched refs:global_idle_mem_buf_map_ (Results 1 – 2 of 2) sorted by relevance
26 global_idle_mem_buf_map_.clear(); in ~DynamicMemPoolBestFit()85 const auto &iter = global_idle_mem_buf_map_.lower_bound(size); in FindIdleMemBuf()86 if (iter != global_idle_mem_buf_map_.end()) { in FindIdleMemBuf()95 (void)global_idle_mem_buf_map_.erase(iter); in FindIdleMemBuf()183 (void)global_idle_mem_buf_map_.emplace(newbuf_size, new_mem_buf); in DivideMemBuf()260 (void)global_idle_mem_buf_map_.emplace(prev_mem_buf->size_, prev_mem_buf); in CombineMemBuf()262 (void)global_idle_mem_buf_map_.emplace(mem_buf->size_, mem_buf); in CombineMemBuf()268 auto &&iter = global_idle_mem_buf_map_.equal_range(size); in EraseIdleMemBuf()273 (void)global_idle_mem_buf_map_.erase(iter.first); in EraseIdleMemBuf()296 global_idle_mem_buf_map_.clear(); in ReleaseDeviceRes()[all …]
100 return global_idle_mem_buf_map_; in global_idle_mem_buf_map()147 SizeMapMemBuf global_idle_mem_buf_map_; variable