Searched refs:WrapperMemory (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryInternal.cpp | 34 using WrapperMemory = ::android::nn::test_wrapper::Memory; typedef 113 WrapperMemory weights(weightsSize, PROT_READ | PROT_WRITE, weightsFd, 0); in TEST_F() 145 WrapperMemory input(inputSize, PROT_READ, inputFd, 0); in TEST_F() 156 WrapperMemory actual(outputSize, PROT_READ | PROT_WRITE, outputFd, 0); in TEST_F()
|
D | TestMemory.cpp | 29 using WrapperMemory = ::android::nn::test_wrapper::Memory; typedef 56 WrapperMemory weights(offsetForMatrix3 + sizeof(matrix3), PROT_READ, fd, 0); in TEST_F() 119 WrapperMemory weights(buffer); in TEST_F()
|
D | TestPartitioningRandom.cpp | 120 using WrapperMemory = nn::test_wrapper::Memory; typedef 292 void* getRegion(unsigned regionIndex, const WrapperMemory** pMemory, uint32_t* pOffset, in getRegion() 297 const WrapperMemory* memory = &mMemories[std::get<0>(regionDescriptor)]; in getRegion() 321 std::vector<WrapperMemory> mMemories; 972 const WrapperMemory* memory; in TEST_P() 1353 const WrapperMemory* memory; in TEST_P()
|