Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp697 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<() argument
699 if (std::holds_alternative<SharedMemory>(memoryPool)) { in operator <<()
700 os << std::get<SharedMemory>(memoryPool); in operator <<()
701 } else if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in operator <<()
702 const auto& token = std::get<Request::MemoryDomainToken>(memoryPool); in operator <<()
708 } else if (std::holds_alternative<SharedBuffer>(memoryPool)) { in operator <<()
709 const auto& buffer = std::get<SharedBuffer>(memoryPool); in operator <<()
DValidation.cpp1067 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool() argument
1068 if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in validateRequestMemoryPool()
1069 NN_RET_CHECK(std::get<Request::MemoryDomainToken>(memoryPool) != kInvalidMemoryDomainToken); in validateRequestMemoryPool()
1072 if (std::holds_alternative<SharedBuffer>(memoryPool)) { in validateRequestMemoryPool()
1073 NN_RET_CHECK(std::get<SharedBuffer>(memoryPool) != nullptr); in validateRequestMemoryPool()
1076 return validateSharedMemory(std::get<SharedMemory>(memoryPool)); in validateRequestMemoryPool()
1086 [](const Request::MemoryPool& memoryPool) { in validateRequest() argument
1087 const auto* memory = std::get_if<SharedMemory>(&memoryPool); in validateRequest()
/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/shim_and_sl/
DShimPreparedModel.cpp56 const auto& memoryPool = requestPool.get<RequestMemoryPool::pool>(); in parseInputs() local
58 convertFromHAL(mNnapi.get(), memoryPool); in parseInputs()
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp1580 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool) { in uncheckedConvert() argument
1581 return handleError(unvalidatedConvert(memoryPool)); in uncheckedConvert()
1735 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool) { in convertToV1_3() argument
1736 return handleError(V1_3::utils::unvalidatedConvert(memoryPool)); in convertToV1_3()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypeUtils.h128 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);