Searched refs:WrapperMemory (Results 1 – 3 of 3) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemoryInternal.cpp | 35 using WrapperMemory = ::android::nn::test_wrapper::Memory; typedef 114 WrapperMemory weights(weightsSize, PROT_READ | PROT_WRITE, weightsFd, 0); in TEST_F() 146 WrapperMemory input(inputSize, PROT_READ, inputFd, 0); in TEST_F() 157 WrapperMemory actual(outputSize, PROT_READ | PROT_WRITE, outputFd, 0); in TEST_F() 198 WrapperMemory mem(size, PROT_READ | PROT_WRITE, fd, 0); in TEST_F() 218 WrapperMemory mem(size, PROT_READ | PROT_WRITE, fd, 0); in TEST_F()
|
D | TestMemory.cpp | 28 using WrapperMemory = ::android::nn::test_wrapper::Memory; typedef 56 WrapperMemory weights(offsetForMatrix3 + sizeof(matrix3), PROT_READ, fd, 0); in TEST_F() 114 WrapperMemory weights(buffer); in TEST_F()
|
D | TestPartitioningRandom.cpp | 106 using WrapperMemory = nn::test_wrapper::Memory; typedef 296 const WrapperMemory** pMemory, uint32_t* pOffset, uint32_t* pLength) { in getRegion() 300 const WrapperMemory* memory = &mMemorys[std::get<0>(regionDescriptor)]; in getRegion() 327 std::vector<WrapperMemory> mMemorys; 981 const WrapperMemory* memory; in TEST_P() 1269 const WrapperMemory* memory; in TEST_P()
|