Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp271 unsigned addRegion(unsigned memoryIndex, uint32_t length) { in addRegion() argument
273 assert(memoryIndex < memoryCount()); in addRegion()
274 uint32_t& memorySize = mMemorySizes[memoryIndex]; in addRegion()
275 auto desc = std::make_tuple(memoryIndex, (uint32_t)memorySize, length); in addRegion()
773 unsigned memoryIndex = ~0U; in TEST_P() local
776 memoryIndex = randUInt(weights.memoryCount()); in TEST_P()
778 memoryIndex = weights.addMemory(); in TEST_P()
781 const unsigned regionIndex = weights.addRegion(memoryIndex, length); in TEST_P()
1059 unsigned memoryIndex = ~0U; in TEST_P() local
1061 memoryIndex = randUInt(ioMemories.memoryCount()); in TEST_P()
[all …]