Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_dynamic_allocator.cc89 if (mem_buf->status_ != kMemBufIdle) { in FindIdleMemBuf()
179 auto new_mem_buf = std::make_shared<DynamicMemBuf>(newbuf_addr, kMemBufIdle, newbuf_size); in DivideMemBuf()
226 mem_buf->status_ = kMemBufIdle; in CombineMemBuf()
237 if (next_mem_buf->status_ == kMemBufIdle) { in CombineMemBuf()
251 if (prev_mem_buf->status_ == kMemBufIdle) { in CombineMemBuf()
319 if (mem_buf->status_ == kMemBufIdle) { in DumpDynamicMemPoolInfo()
Dmem_dynamic_allocator.h33 enum DynamicMemBufStatus : int { kMemBufIdle, kMemBufUsed }; enumerator