Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp1053 TestMemories ioMemories; in TEST_P() local
1060 if ((ioMemories.memoryCount() != 0) && (randFrac() < 0.5)) { in TEST_P()
1061 memoryIndex = randUInt(ioMemories.memoryCount()); in TEST_P()
1063 memoryIndex = ioMemories.addMemory(); in TEST_P()
1066 desc.mMemoryRegion = ioMemories.addRegion(memoryIndex, length); in TEST_P()
1069 ioMemories.layout(); in TEST_P()
1074 [&model, &ioDescriptors, &ioMemories, in TEST_P()
1098 static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion, in TEST_P()
1139 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()
1180 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()