/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | GeneratedTestHarness.cpp | 94 hidl_vec<hidl_memory> pools; in createModel() local 96 hidl_vec_push_back(&pools, nn::allocateSharedMemory(constRefSize)); in createModel() 97 CHECK_NE(pools[0].size(), 0u); in createModel() 100 sp<IMemory> mappedMemory = mapMemory(pools[0]); in createModel() 121 .pools = std::move(pools)}; in createModel()
|
D | Utils.cpp | 153 hidl_vec<hidl_memory> pools = {mInputMemory->getHidlMemory(), mOutputMemory->getHidlMemory()}; in createRequest() local 166 return {.inputs = std::move(inputs), .outputs = std::move(outputs), .pools = std::move(pools)}; in createRequest()
|
D | BasicTests.cpp | 152 .pools = {}, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | GeneratedTestHarness.cpp | 101 hidl_vec<hidl_memory> pools; in createModel() local 103 hidl_vec_push_back(&pools, nn::allocateSharedMemory(constRefSize)); in createModel() 104 CHECK_NE(pools[0].size(), 0u); in createModel() 107 sp<IMemory> mappedMemory = mapMemory(pools[0]); in createModel() 128 .pools = std::move(pools), in createModel()
|
D | BasicTests.cpp | 159 .pools = {}, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateBurst.cpp | 255 keys.reserve(request.pools.size()); in validateBurstSerialization() 256 std::transform(request.pools.begin(), request.pools.end(), std::back_inserter(keys), in validateBurstSerialization() 258 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSerialization() 292 std::vector<intptr_t> keys(request.pools.size()); in validateBurstFmqLength() 294 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validateBurstFmqLength() 381 keys.reserve(request.pools.size()); in validateBurstSanitized() 382 std::transform(request.pools.begin(), request.pools.end(), std::back_inserter(keys), in validateBurstSanitized() 384 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSanitized()
|
D | GeneratedTestHarness.cpp | 134 hidl_vec<hidl_memory> pools = {}; in createModel() local 136 hidl_vec_push_back(&pools, nn::allocateSharedMemory(constRefSize)); in createModel() 137 CHECK_NE(pools[0].size(), 0u); in createModel() 140 sp<IMemory> mappedMemory = mapMemory(pools[0]); in createModel() 161 .pools = std::move(pools), in createModel() 268 std::vector<intptr_t> keys(request.pools.size()); in EvaluatePreparedModel() 270 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in EvaluatePreparedModel()
|
D | ValidateRequest.cpp | 104 std::vector<intptr_t> keys(request.pools.size()); in validate() 106 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validate() 118 if (request.pools.size() > 0) { in validate()
|
D | BasicTests.cpp | 233 .pools = {}, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateBurst.cpp | 261 keys.reserve(request.pools.size()); in validateBurstSerialization() 262 std::transform(request.pools.begin(), request.pools.end(), std::back_inserter(keys), in validateBurstSerialization() 264 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSerialization() 298 std::vector<intptr_t> keys(request.pools.size()); in validateBurstFmqLength() 300 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validateBurstFmqLength() 387 keys.reserve(request.pools.size()); in validateBurstSanitized() 388 std::transform(request.pools.begin(), request.pools.end(), std::back_inserter(keys), in validateBurstSanitized() 390 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSanitized()
|
D | MemoryDomainTests.cpp | 968 .pools = {sharedMemory, badDeviceMemory1}}, in TEST_P() 973 .pools = {sharedMemory, badDeviceMemory2}}, in TEST_P() 978 .pools = {sharedMemory, badDeviceMemory1}}, in TEST_P() 983 .pools = {sharedMemory, badDeviceMemory2}}, in TEST_P() 1005 .pools = {sharedMemory, deviceMemory}}, in TEST_P() 1010 .pools = {sharedMemory, deviceMemory}}, in TEST_P() 1036 .pools = {sharedMemory1, sharedMemory2, sharedMemory3, deviceMemory}}, in TEST_P() 1043 .pools = {sharedMemory1, sharedMemory2, sharedMemory3, deviceMemory}}, in TEST_P() 1063 .pools = {sharedMemory, deviceMemory}}, in TEST_P() 1072 .pools = {sharedMemory, deviceMemory}}, in TEST_P() [all …]
|
D | GeneratedTestHarness.cpp | 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() [all …]
|
D | ValidateRequest.cpp | 112 std::vector<intptr_t> keys(request10.pools.size()); in validate() 114 keys[i] = reinterpret_cast<intptr_t>(&request10.pools[i]); in validate() 126 if (request10.pools.size() > 0) { in validate()
|
D | BasicTests.cpp | 178 .pools = {}, in TEST_P()
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | HexagonUtils.cpp | 118 std::vector<RunTimePoolInfo> mapPools(const hidl_vec<hidl_memory>& pools) { in mapPools() argument 120 poolInfos.reserve(pools.size()); in mapPools() 122 for (const auto& pool : pools) { in mapPools() 153 const std::vector<RunTimePoolInfo>& pools) { in getData() argument 164 return getDataFromPool(pools[operand.location.poolIndex], operand.location.offset, in getData()
|
D | HexagonModel.cpp | 32 const std::vector<RunTimePoolInfo>& pools) { in getOperandsInfo() argument 42 .buffer = const_cast<uint8_t*>(getData(operand, model.operandValues, pools)), in getOperandsInfo() 50 mPools = mapPools(model.pools); in Model() 645 const std::vector<RunTimePoolInfo>& pools, in getUpdatedOperand() argument 649 const RunTimePoolInfo& pool = pools[inputOutput.location.poolIndex]; in getUpdatedOperand() 663 std::vector<RunTimePoolInfo> pools = mapPools(request.pools); in execute() local 669 OperandInfo newInfo = getUpdatedOperand(request.inputs[i], pools, oldInfo); in execute() 677 OperandInfo newInfo = getUpdatedOperand(request.outputs[i], pools, oldInfo); in execute() 685 std::for_each(pools.begin(), pools.end(), [](RunTimePoolInfo& pool) { pool.update(); }); in execute()
|
D | HexagonUtils.h | 74 std::vector<RunTimePoolInfo> mapPools(const hidl_vec<hidl_memory>& pools); 79 const std::vector<RunTimePoolInfo>& pools);
|
/hardware/google/av/media/sfplugin/ |
D | CCodecBufferChannel.cpp | 2107 Mutexed<BlockPools>::Locked pools(mBlockPools); in start() local 2110 pools->inputAllocatorId = (graphic) ? C2PlatformAllocatorStore::GRALLOC in start() 2131 pools->inputAllocatorId = allocator->getId(); in start() 2140 if ((poolMask >> pools->inputAllocatorId) & 1) { in start() 2141 err = CreateCodec2BlockPool(pools->inputAllocatorId, nullptr, &pool); in start() 2143 mName, pools->inputAllocatorId, in start() 2161 pools->inputPool = pool; in start() 2228 Mutexed<BlockPools>::Locked pools(mBlockPools); in start() local 2231 pools->outputAllocatorId = (graphic) ? C2PlatformAllocatorStore::GRALLOC in start() 2252 pools->outputAllocatorId = allocator->getId(); in start() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/ |
D | types.t | 340 * A collection of shared memory pools containing operand values. 345 vec<memory> pools; 361 * The location within one of the memory pools passed in the Request. 416 * A collection of shared memory pools containing operand data for both the 419 vec<memory> pools;
|
/hardware/interfaces/neuralnetworks/1.1/ |
D | types.t | 123 * A collection of shared memory pools containing operand values. 128 vec<memory> pools;
|
/hardware/google/av/media/codecs/cmds/ |
D | codec2.cpp | 219 std::unique_ptr<C2PortBlockPoolsTuning::output> pools = in play() local 222 (void)component->intf()->config_vb({pools.get()}, C2_DONT_BLOCK, &result); in play()
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | types.t | 361 * A collection of shared memory pools containing operand values. 366 vec<memory> pools; 539 * The location within one of the memory pools passed in the Request. 578 * A {@link @1.0::Request} passes across one or more pools of shared memory 579 * for the inputs and outputs of an execution. However, these memory pools
|
/hardware/interfaces/media/bufferpool/2.0/ |
D | README.md | 51 A manager of buffer pool clients and clients' connections to buffer pools. It
|
/hardware/interfaces/media/bufferpool/1.0/ |
D | README.md | 51 A manager of buffer pool clients and clients' connections to buffer pools. It
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | types.t | 385 * A collection of shared memory pools containing operand values. 390 vec<memory> pools; 542 * A collection of memory pools containing operand data for both the 545 vec<MemoryPool> pools;
|