Searched refs:memoryPool (Results 1 – 8 of 8) sorted by relevance
201 for (const auto& memoryPool : requestInShared.pools) { in execute() local202 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in execute()284 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution() local285 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in createReusableExecution()
493 const aidl_hal::RequestMemoryPool& memoryPool) { in unvalidatedConvert() argument495 switch (memoryPool.getTag()) { in unvalidatedConvert()497 return unvalidatedConvert(memoryPool.get<Tag::pool>()); in unvalidatedConvert()499 const auto token = memoryPool.get<Tag::token>(); in unvalidatedConvert()504 return NN_ERROR() << "Invalid Request::MemoryPool tag " << underlyingType(memoryPool.getTag()); in unvalidatedConvert()1070 nn::GeneralResult<RequestMemoryPool> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument1089 memoryPool); in unvalidatedConvert()
256 const hal::V1_3::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument258 switch (memoryPool.getDiscriminator()) { in unvalidatedConvert()260 return unvalidatedConvert(memoryPool.hidlMemory()); in unvalidatedConvert()262 return static_cast<Request::MemoryDomainToken>(memoryPool.token()); in unvalidatedConvert()266 << underlyingType(memoryPool.getDiscriminator()); in unvalidatedConvert()626 const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument627 return std::visit([](const auto& o) { return makeMemoryPool(o); }, memoryPool); in unvalidatedConvert()
341 for (const auto& memoryPool : requestInShared.pools) { in execute() local342 auto [slot, hold] = mMemoryCache->cacheMemory(std::get<nn::SharedMemory>(memoryPool)); in execute()388 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution() local389 auto [slot, hold] = mMemoryCache->cacheMemory(std::get<nn::SharedMemory>(memoryPool)); in createReusableExecution()
44 const hal::V1_3::Request::MemoryPool& memoryPool);84 const nn::Request::MemoryPool& memoryPool);
73 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool);
96 const aidl_hal::RequestMemoryPool& memoryPool);177 nn::GeneralResult<RequestMemoryPool> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool);
621 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument622 return unvalidatedConvert(std::get<nn::SharedMemory>(memoryPool)); in unvalidatedConvert()