Home
last modified time | relevance | path

Searched refs:kMinAllocationSize (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.h266 static constexpr size_t kMinAllocationSize = 1 << kMinAllocationBits; variable
286 DCHECK_EQ(0, memory_size % kMinAllocationSize); in AllocationRegion()
288 (memory_size + kMinAllocationSize - 1) / kMinAllocationSize; in AllocationRegion()
304 DCHECK_EQ(0, memory_size_ % kMinAllocationSize); in extend()
308 (memory_size_ + kMinAllocationSize - 1) / kMinAllocationSize; in extend()
Dbfc_allocator.cc109 available_bytes = (available_bytes / kMinAllocationSize) * kMinAllocationSize; in Extend()
291 (kMinAllocationSize * in RoundedBytes()
292 ((bytes + kMinAllocationSize - 1) / kMinAllocationSize)); in RoundedBytes()
293 DCHECK_EQ(size_t{0}, rounded_bytes % kMinAllocationSize); in RoundedBytes()
/external/skia/src/gpu/
DGrMemoryPool.cpp23 static_assert(sizeof(GrMemoryPool) < GrMemoryPool::kMinAllocationSize); in Make()
25 preallocSize = SkTPin(preallocSize, kMinAllocationSize, in Make()
27 minAllocSize = SkTPin(minAllocSize, kMinAllocationSize, in Make()
DGrMemoryPool.h38 static constexpr size_t kMinAllocationSize = 1 << 10; variable
/external/skia/bench/
DGrMemoryPoolBench.cpp191 static const int kSmallPool = GrMemoryPool::kMinAllocationSize;
/external/skia/tests/
DGrMemoryPoolTest.cpp252 constexpr size_t kSmallestMinAllocSize = GrMemoryPool::kMinAllocationSize; in DEF_TEST()