Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DTypeUtils.cpp820 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<() argument
822 if (std::holds_alternative<SharedMemory>(memoryPool)) { in operator <<()
823 os << std::get<SharedMemory>(memoryPool); in operator <<()
824 } else if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in operator <<()
825 const auto& token = std::get<Request::MemoryDomainToken>(memoryPool); in operator <<()
831 } else if (std::holds_alternative<SharedBuffer>(memoryPool)) { in operator <<()
832 const auto& buffer = std::get<SharedBuffer>(memoryPool); in operator <<()
DValidation.cpp1091 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool() argument
1092 if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in validateRequestMemoryPool()
1093 NN_VALIDATE(std::get<Request::MemoryDomainToken>(memoryPool) != kInvalidMemoryDomainToken); in validateRequestMemoryPool()
1096 if (std::holds_alternative<SharedBuffer>(memoryPool)) { in validateRequestMemoryPool()
1097 NN_VALIDATE(std::get<SharedBuffer>(memoryPool) != nullptr); in validateRequestMemoryPool()
1100 return validateSharedMemory(std::get<SharedMemory>(memoryPool)); in validateRequestMemoryPool()
1110 [](const Request::MemoryPool& memoryPool) { in validateRequest() argument
1111 const auto* memory = std::get_if<SharedMemory>(&memoryPool); in validateRequest()
DLegacyHalUtils.cpp1577 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool) { in uncheckedConvert() argument
1578 return handleError(unvalidatedConvert(memoryPool)); in uncheckedConvert()
1732 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool) { in convertToV1_3() argument
1733 return handleError(V1_3::utils::unvalidatedConvert(memoryPool)); in convertToV1_3()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp51 const auto& memoryPool = requestPool.get<RequestMemoryPool::pool>(); in parseInputs() local
53 convertFromHAL(mNnapi.get(), memoryPool); in parseInputs()
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h359 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool);
400 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool);
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypeUtils.h129 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);