Searched refs:inputMemory (Results 1 – 3 of 3) sorted by relevance
216 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in createRequests() local217 if (inputMemory == nullptr) { in createRequests()220 char* inputPtr = reinterpret_cast<char*>(static_cast<void*>(inputMemory->getPointer())); in createRequests()226 inputMemory->update(); in createRequests()233 inputMemory->commit(); in createRequests()
215 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in createRequests() local216 if (inputMemory == nullptr) { in createRequests()219 char* inputPtr = reinterpret_cast<char*>(static_cast<void*>(inputMemory->getPointer())); in createRequests()225 inputMemory->update(); in createRequests()232 inputMemory->commit(); in createRequests()
134 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in EvaluatePreparedModel() local136 ASSERT_NE(nullptr, inputMemory.get()); in EvaluatePreparedModel()138 char* inputPtr = reinterpret_cast<char*>(static_cast<void*>(inputMemory->getPointer())); in EvaluatePreparedModel()142 inputMemory->update(); in EvaluatePreparedModel()153 inputMemory->commit(); in EvaluatePreparedModel()