Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc106 bool BFCAllocator::Extend(size_t alignment, size_t rounded_bytes) { in Extend() argument
113 if (rounded_bytes > available_bytes) { in Extend()
121 while (rounded_bytes > curr_region_allocation_bytes_) { in Extend()
139 if (bytes < rounded_bytes) break; in Extend()
290 size_t rounded_bytes = in RoundedBytes() local
293 DCHECK_EQ(size_t{0}, rounded_bytes % kMinAllocationSize); in RoundedBytes()
294 return rounded_bytes; in RoundedBytes()
297 bool BFCAllocator::DeallocateFreeRegions(size_t rounded_bytes) in DeallocateFreeRegions() argument
333 if (rounded_bytes > available_bytes) { in DeallocateFreeRegions()
399 size_t rounded_bytes = RoundedBytes(num_bytes); in AllocateRawInternal() local
[all …]
Dbfc_allocator.h441 bool Extend(size_t alignment, size_t rounded_bytes)
450 bool DeallocateFreeRegions(size_t rounded_bytes);
458 void* FindChunkPtr(BinNum bin_num, size_t rounded_bytes, size_t num_bytes,