Searched refs:memoryIndex (Results 1 – 2 of 2) sorted by relevance
279 unsigned addRegion(unsigned memoryIndex, uint32_t length) { in addRegion() argument281 CHECK(memoryIndex < memoryCount()); in addRegion()282 uint32_t& memorySize = mMemorySizes[memoryIndex]; in addRegion()283 auto desc = std::make_tuple(memoryIndex, (uint32_t)memorySize, length); in addRegion()905 unsigned memoryIndex = ~0U; in TEST_P() local908 memoryIndex = randUInt(weights.memoryCount()); in TEST_P()910 memoryIndex = weights.addMemory(); in TEST_P()913 const unsigned regionIndex = weights.addRegion(memoryIndex, length); in TEST_P()1320 unsigned memoryIndex = ~0U; in TEST_P() local1322 memoryIndex = randUInt(ioMemories.memoryCount()); in TEST_P()[all …]
195 for (uint32_t memoryIndex = 0; memoryIndex < VK_MAX_MEMORY_TYPES; ++memoryIndex) { in findMemoryType() local196 const uint32_t memoryTypeBits = (1 << memoryIndex); in findMemoryType()198 const uint32_t heapIndex = properties.memoryTypes[memoryIndex].heapIndex; in findMemoryType()200 if (isRequiredMemoryType && isLargeEnough) return memoryIndex; in findMemoryType()