Home
last modified time | relevance | path

Searched refs:memoryPools (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NeuralNetworks/shim_and_sl/
DShimConverter.cpp48 const std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>>& memoryPools, in convertSubgraphFromHAL() argument
148 i, memoryPools[operand.location.poolIndex].get(), operand.location.offset, in convertSubgraphFromHAL()
154 auto subgraph = convertSubgraphFromHAL(nnapi, memoryPools, model, allModels, in convertSubgraphFromHAL()
372 std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>> memoryPools; in convertFromHAL() local
373 memoryPools.reserve(model.pools.size()); in convertFromHAL()
381 memoryPools.push_back(std::move(memory)); in convertFromHAL()
392 if (convertSubgraphFromHAL(nnapi, memoryPools, model, &allModels, i, *copiedOperandValues, in convertFromHAL()
411 return ShimConvertedModel{.memory = std::move(memoryPools), .models = std::move(result)}; in convertFromHAL()
DShimPreparedModel.cpp152 std::vector<std::shared_ptr<::android::nn::sl_wrapper::Memory>> memoryPools, in ShimFencedExecutionCallback() argument
154 : mMemoryPools(std::move(memoryPools)), in ShimFencedExecutionCallback()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimPreparedModel.h37 std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>> memoryPools, in ShimPreparedModel() argument
43 mMemoryPools(std::move(memoryPools)), in ShimPreparedModel()
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h369 const hardware::hidl_vec<V1_3::Request::MemoryPool>& memoryPools);
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp1737 const hardware::hidl_vec<V1_3::Request::MemoryPool>& memoryPools) { in uncheckedConvert() argument
1738 return convertVec<Request::MemoryPool>(memoryPools); in uncheckedConvert()