Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp1284 TestMemories ioMemories; in TEST_P() local
1291 if ((ioMemories.memoryCount() != 0) && (randFrac() < 0.5)) { in TEST_P()
1292 memoryIndex = randUInt(ioMemories.memoryCount()); in TEST_P()
1294 memoryIndex = ioMemories.addMemory(); in TEST_P()
1297 desc.mMemoryRegion = ioMemories.addRegion(memoryIndex, length); in TEST_P()
1300 ioMemories.layout(); in TEST_P()
1304 auto prepareForExecution = [&model, &ioDescriptors, &ioMemories, &goldenInputs, &goldenOutput, in TEST_P()
1326 ioMemories.getRegion(desc.mMemoryRegion, &memory, &offset, &length)); in TEST_P()
1363 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()
1401 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()