Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp1314 TestMemories ioMemories; in TEST_P() local
1321 if ((ioMemories.memoryCount() != 0) && (randFrac() < 0.5)) { in TEST_P()
1322 memoryIndex = randUInt(ioMemories.memoryCount()); in TEST_P()
1324 memoryIndex = ioMemories.addMemory(); in TEST_P()
1327 desc.mMemoryRegion = ioMemories.addRegion(memoryIndex, length); in TEST_P()
1330 ioMemories.layout(); in TEST_P()
1334 auto prepareForExecution = [&model, &ioDescriptors, &ioMemories, &goldenInputs, &goldenOutput, in TEST_P()
1356 ioMemories.getRegion(desc.mMemoryRegion, &memory, &offset, &length)); in TEST_P()
1393 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()
1431 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()