Lines Matching refs:desc
280 auto desc = std::make_tuple(memoryIndex, (uint32_t)memorySize, length); in addRegion() local
281 mRegions.push_back(desc); in addRegion()
1299 for (auto& desc : ioDescriptors) { in TEST_P() local
1301 desc.mVector.resize(problemSize * problemSize); in TEST_P()
1311 desc.mMemoryRegion = ioMemories.addRegion(memoryIndex, length); in TEST_P()
1321 for (auto& desc : ioDescriptors) { in TEST_P() local
1322 if (desc.getLocation() == InputOutputDescriptor::VECTOR) { in TEST_P()
1323 if (desc.mKind == InputOutputDescriptor::INPUT) { in TEST_P()
1327 desc.mVector.begin()); in TEST_P()
1328 e->setInput(inputIndex++, desc.mVector.data(), in TEST_P()
1329 desc.mVector.size() * sizeof(float)); in TEST_P()
1331 std::fill(desc.mVector.begin(), in TEST_P()
1332 desc.mVector.begin() + problemSize * problemSize, goldenOutput); in TEST_P()
1333 e->setOutput(outputIndex++, desc.mVector.data(), in TEST_P()
1334 desc.mVector.size() * sizeof(float), &problemType.operandType); in TEST_P()
1340 ioMemories.getRegion(desc.mMemoryRegion, &memory, &offset, &length)); in TEST_P()
1342 if (desc.mKind == InputOutputDescriptor::INPUT) { in TEST_P()
1368 for (const auto& desc : ioDescriptors) { in TEST_P() local
1369 if (desc.mKind != InputOutputDescriptor::OUTPUT) { in TEST_P()
1373 if (desc.getLocation() == InputOutputDescriptor::VECTOR) { in TEST_P()
1374 std::copy(desc.mVector.begin(), desc.mVector.end(), in TEST_P()
1377 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()
1401 for (const auto& desc : ioDescriptors) { in TEST_P() local
1402 if (desc.mKind != InputOutputDescriptor::OUTPUT) { in TEST_P()
1407 if (desc.getLocation() == InputOutputDescriptor::VECTOR) { in TEST_P()
1410 dump(desc.mVector.begin(), desc.mVector.end()); in TEST_P()
1412 ASSERT_TRUE(std::equal(desc.mVector.begin(), desc.mVector.end(), in TEST_P()
1415 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P()