Searched refs:WrapperMemory (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryInternal.cpp | 35 using WrapperMemory = ::android::nn::test_wrapper::Memory; typedef 120 WrapperMemory weights(weightsSize, PROT_READ | PROT_WRITE, weightsFd, 0); in TEST_F() 158 WrapperMemory input(inputSize, PROT_READ, inputFd, 0); in TEST_F() 175 WrapperMemory actual(outputSize, PROT_READ | PROT_WRITE, outputFd, 0); in TEST_F()
|
D | TestMemory.cpp | 34 using WrapperMemory = ::android::nn::test_wrapper::Memory; typedef 61 WrapperMemory weights(offsetForMatrix3 + sizeof(matrix3), PROT_READ, fd, 0); in TEST_F() 124 WrapperMemory weights(buffer); in TEST_F()
|
D | TestPartitioningRandom.cpp | 117 using WrapperMemory = nn::test_wrapper::Memory; typedef 289 void* getRegion(unsigned regionIndex, const WrapperMemory** pMemory, uint32_t* pOffset, in getRegion() 294 const WrapperMemory* memory = &mMemories[std::get<0>(regionDescriptor)]; in getRegion() 318 std::vector<WrapperMemory> mMemories; 955 const WrapperMemory* memory; in TEST_P() 1337 const WrapperMemory* memory; in TEST_P()
|