Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DModels.cpp164 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in createValidTestRequest() local
166 if (inputMemory.get() == nullptr || outputMemory.get() == nullptr) { in createValidTestRequest()
169 float* inputPtr = reinterpret_cast<float*>(static_cast<void*>(inputMemory->getPointer())); in createValidTestRequest()
174 inputMemory->update(); in createValidTestRequest()
178 inputMemory->commit(); in createValidTestRequest()
DGeneratedTestHarness.cpp176 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in Execute() local
178 ASSERT_NE(nullptr, inputMemory.get()); in Execute()
180 char* inputPtr = reinterpret_cast<char*>(static_cast<void*>(inputMemory->getPointer())); in Execute()
184 inputMemory->update(); in Execute()
195 inputMemory->commit(); in Execute()