Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc62 CHECK_EQ(BinForSize(bin_size), BinFromIndex(b)); in BFCAllocator()
63 CHECK_EQ(BinForSize(bin_size + 255), BinFromIndex(b)); in BFCAllocator()
64 CHECK_EQ(BinForSize(bin_size * 2 - 1), BinFromIndex(b)); in BFCAllocator()
66 CHECK_NE(BinForSize(bin_size * 2), BinFromIndex(b)); in BFCAllocator()
647 Bin* b = BinForSize(num_bytes); in DumpMemoryLog()
Dbfc_allocator.h424 Bin* BinForSize(size_t bytes) { return BinFromIndex(BinNumForSize(bytes)); } in BinForSize() function