Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp194 for (const auto& memoryPool : requestInShared.pools) { in execute() local
195 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in execute()
263 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution() local
264 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in createReusableExecution()
DConversions.cpp466 const aidl_hal::RequestMemoryPool& memoryPool) { in unvalidatedConvert() argument
468 switch (memoryPool.getTag()) { in unvalidatedConvert()
470 return unvalidatedConvert(memoryPool.get<Tag::pool>()); in unvalidatedConvert()
472 const auto token = memoryPool.get<Tag::token>(); in unvalidatedConvert()
477 return NN_ERROR() << "Invalid Request::MemoryPool tag " << underlyingType(memoryPool.getTag()); in unvalidatedConvert()
943 nn::GeneralResult<RequestMemoryPool> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument
962 memoryPool); in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp238 const hal::V1_3::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument
240 switch (memoryPool.getDiscriminator()) { in unvalidatedConvert()
242 return hal::utils::createSharedMemoryFromHidlMemory(memoryPool.hidlMemory()); in unvalidatedConvert()
244 return static_cast<Request::MemoryDomainToken>(memoryPool.token()); in unvalidatedConvert()
248 << underlyingType(memoryPool.getDiscriminator()); in unvalidatedConvert()
587 const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument
588 return std::visit([](const auto& o) { return makeMemoryPool(o); }, memoryPool); in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h91 const aidl_hal::RequestMemoryPool& memoryPool);
157 nn::GeneralResult<RequestMemoryPool> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool);
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DConversions.h71 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool);
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp379 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() argument
380 return unvalidatedConvert(std::get<nn::SharedMemory>(memoryPool)); in unvalidatedConvert()