Searched refs:bin_num (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.cc | 221 c->bin_num = kInvalidBinNum; in DeallocateChunk() 373 if (c->bin_num != kInvalidBinNum) { in DeallocateRegions() 402 BinNum bin_num = BinNumForSize(rounded_bytes); in AllocateRawInternal() local 409 void* ptr = FindChunkPtr(bin_num, rounded_bytes, num_bytes, freed_before); in AllocateRawInternal() 417 ptr = FindChunkPtr(bin_num, rounded_bytes, num_bytes, freed_before); in AllocateRawInternal() 430 ptr = FindChunkPtr(bin_num, rounded_bytes, num_bytes, freed_before); in AllocateRawInternal() 444 ptr = FindChunkPtr(bin_num, rounded_bytes, num_bytes, freed_before); in AllocateRawInternal() 523 void* BFCAllocator::FindChunkPtr(BinNum bin_num, size_t rounded_bytes, in FindChunkPtr() argument 526 for (; bin_num < kNumBins; bin_num++) { in FindChunkPtr() 529 Bin* b = BinFromIndex(bin_num); in FindChunkPtr() [all …]
|
D | bfc_allocator.h | 184 BinNum bin_num = kInvalidBinNum; member 216 " | in_use: ", in_use(), " | bin_num: ", bin_num); in DebugString() 458 void* FindChunkPtr(BinNum bin_num, size_t rounded_bytes, size_t num_bytes,
|