Lines Matching refs:pools
297 hidl_vec<hidl_memory> pools = {}; in createModel() local
299 hidl_vec_push_back(&pools, nn::allocateSharedMemory(constRefSize)); in createModel()
300 CHECK_NE(pools[0].size(), 0u); in createModel()
303 sp<IMemory> mappedMemory = mapMemory(pools[0]); in createModel()
315 .pools = std::move(pools), in createModel()
440 hidl_vec<Request::MemoryPool> pools(kDeviceMemoryBeginIndex + mBuffers.size()); in createRequest() local
450 pools[kInputPoolIndex].hidlMemory(mInputMemory->getHidlMemory()); in createRequest()
451 pools[kOutputPoolIndex].hidlMemory(mOutputMemory->getHidlMemory()); in createRequest()
453 pools[kDeviceMemoryBeginIndex + i].token(tokens[i]); in createRequest()
467 .inputs = std::move(inputs), .outputs = std::move(outputs), .pools = std::move(pools)}; in createRequest()
638 std::vector<intptr_t> keys(request10.pools.size()); in EvaluatePreparedModel()
640 keys[i] = reinterpret_cast<intptr_t>(&request10.pools[i]); in EvaluatePreparedModel()