Lines Matching defs:size
41 // a request for "size" elements
43 SimplePoolManager::minAllocatedElements(uint32_t size)
45 fatal_if(size <= 0 || size > poolSize(), "Illegal VGPR region size=%d\n",
46 size);
48 return size % minAllocation() > 0 ?
49 (minAllocation() - (size % minAllocation())) + size : size;
67 SimplePoolManager::canAllocate(uint32_t numRegions, uint32_t size)
69 assert(numRegions * minAllocatedElements(size) <= poolSize());
85 SimplePoolManager::allocateRegion(const uint32_t size,
88 uint32_t actualSize = minAllocatedElements(size);