Home
last modified time | relevance | path

Searched refs:memoryPool (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp201 for (const auto& memoryPool : requestInShared.pools) { in execute() local
202 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in execute()
284 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution() local
285 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in createReusableExecution()
DConversions.cpp493 const aidl_hal::RequestMemoryPool& memoryPool) { in unvalidatedConvert() argument
495 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() argument
1089 memoryPool); in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp256 const hal::V1_3::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument
258 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() argument
627 return std::visit([](const auto& o) { return makeMemoryPool(o); }, memoryPool); in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DBurst.cpp341 for (const auto& memoryPool : requestInShared.pools) { in execute() local
342 auto [slot, hold] = mMemoryCache->cacheMemory(std::get<nn::SharedMemory>(memoryPool)); in execute()
388 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution() local
389 auto [slot, hold] = mMemoryCache->cacheMemory(std::get<nn::SharedMemory>(memoryPool)); in createReusableExecution()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DConversions.h44 const hal::V1_3::Request::MemoryPool& memoryPool);
84 const nn::Request::MemoryPool& memoryPool);
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DConversions.h73 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool);
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h96 const aidl_hal::RequestMemoryPool& memoryPool);
177 nn::GeneralResult<RequestMemoryPool> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool);
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp621 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument
622 return unvalidatedConvert(std::get<nn::SharedMemory>(memoryPool)); in unvalidatedConvert()