Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc37 constexpr BFCAllocator::ChunkHandle BFCAllocator::kInvalidChunkHandle; member in tensorflow::BFCAllocator
47 free_chunks_list_(kInvalidChunkHandle), in BFCAllocator()
178 c->prev = kInvalidChunkHandle; in Extend()
179 c->next = kInvalidChunkHandle; in Extend()
191 while (prev_chunk->next != kInvalidChunkHandle) { in Extend()
206 if (free_chunks_list_ != kInvalidChunkHandle) { in AllocateChunk()
310 while (h != kInvalidChunkHandle) { in DeallocateFreeRegions()
371 while (h != kInvalidChunkHandle) { in DeallocateRegions()
626 if (h_neighbor != kInvalidChunkHandle) { in SplitChunk()
651 CHECK(h != kInvalidChunkHandle); in DeallocateRawInternal()
[all …]
Dbfc_allocator.h136 static constexpr ChunkHandle kInvalidChunkHandle = SIZE_MAX; variable
176 ChunkHandle prev = kInvalidChunkHandle;
181 ChunkHandle next = kInvalidChunkHandle;
217 if (recurse && prev != BFCAllocator::kInvalidChunkHandle) { in DebugString()
221 if (recurse && next != BFCAllocator::kInvalidChunkHandle) { in DebugString()
289 handles_.resize(n_handles, kInvalidChunkHandle); in AllocationRegion()
309 handles_.resize(n_handles, kInvalidChunkHandle); in extend()
315 void erase(const void* p) { set_handle(p, kInvalidChunkHandle); } in erase()