Searched refs:memoryPools (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimConverter.cpp | 48 const std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>>& memoryPools, in convertSubgraphFromHAL() argument 157 if (operand.location.poolIndex >= memoryPools.size()) { in convertSubgraphFromHAL() 162 i, memoryPools[operand.location.poolIndex].get(), operand.location.offset, in convertSubgraphFromHAL() 168 auto subgraph = convertSubgraphFromHAL(nnapi, memoryPools, model, allModels, in convertSubgraphFromHAL() 386 std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>> memoryPools; in convertFromHAL() local 387 memoryPools.reserve(model.pools.size()); in convertFromHAL() 395 memoryPools.push_back(std::move(memory)); in convertFromHAL() 406 if (convertSubgraphFromHAL(nnapi, memoryPools, model, &allModels, i, *copiedOperandValues, in convertFromHAL() 425 return ShimConvertedModel{.memory = std::move(memoryPools), .models = std::move(result)}; in convertFromHAL()
|
D | ShimPreparedModel.cpp | 197 std::vector<std::shared_ptr<::android::nn::sl_wrapper::Memory>> memoryPools, in ShimFencedExecutionCallback() argument 199 : mMemoryPools(std::move(memoryPools)), in ShimFencedExecutionCallback()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimPreparedModel.h | 38 std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>> memoryPools, in ShimPreparedModel() argument 44 mMemoryPools(std::move(memoryPools)), in ShimPreparedModel()
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyHalUtils.h | 369 const hardware::hidl_vec<V1_3::Request::MemoryPool>& memoryPools);
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 1740 const hardware::hidl_vec<V1_3::Request::MemoryPool>& memoryPools) { in uncheckedConvert() argument 1741 return convertVec<Request::MemoryPool>(memoryPools); in uncheckedConvert()
|