Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp279 unsigned addRegion(unsigned memoryIndex, uint32_t length) { in addRegion() argument
281 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() local
908 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() local
1322 memoryIndex = randUInt(ioMemories.memoryCount()); in TEST_P()
[all …]
DTestGpuNnapi.cpp195 for (uint32_t memoryIndex = 0; memoryIndex < VK_MAX_MEMORY_TYPES; ++memoryIndex) { in findMemoryType() local
196 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()