/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | DriverFuzzTest.cpp | 156 std::vector<hidl_memory> pools = {}; in createModel() local 158 pools.push_back(nn::allocateSharedMemory(constRefSize)); in createModel() 159 CHECK_NE(pools.back().size(), 0u); in createModel() 162 sp<IMemory> mappedMemory = mapMemory(pools[0]); in createModel() 174 .pools = pools, in createModel() 227 hidl_vec<V1_3::Request::MemoryPool> pools(2); in createRequest() local 228 pools[kInputPoolIndex].hidlMemory(inputMemory); in createRequest() 229 pools[kOutputPoolIndex].hidlMemory(outputMemory); in createRequest() 247 return {.inputs = std::move(inputs), .outputs = std::move(outputs), .pools = std::move(pools)}; in createRequest()
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_variation/ |
D | stdout.txt.expect | 112 const std::vector<hidl_memory> pools = {}; 120 .pools = pools, 259 const std::vector<hidl_memory> pools = {}; 267 .pools = pools, 407 const std::vector<hidl_memory> pools = {}; 415 .pools = pools, 554 const std::vector<hidl_memory> pools = {}; 562 .pools = pools, 701 const std::vector<hidl_memory> pools = {}; 709 .pools = pools, [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_variation/ |
D | stdout.txt.expect | 112 const std::vector<hidl_memory> pools = {}; 120 .pools = pools, 259 const std::vector<hidl_memory> pools = {}; 267 .pools = pools, 407 const std::vector<hidl_memory> pools = {}; 415 .pools = pools, 554 const std::vector<hidl_memory> pools = {}; 562 .pools = pools, 701 const std::vector<hidl_memory> pools = {}; 709 .pools = pools, [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_naming/ |
D | stdout.txt.expect | 112 const std::vector<hidl_memory> pools = {}; 120 .pools = pools, 259 const std::vector<hidl_memory> pools = {}; 267 .pools = pools, 407 const std::vector<hidl_memory> pools = {}; 415 .pools = pools, 554 const std::vector<hidl_memory> pools = {}; 562 .pools = pools, 701 const std::vector<hidl_memory> pools = {}; 709 .pools = pools, [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_parameter/ |
D | stdout.txt.expect | 67 const std::vector<hidl_memory> pools = {}; 75 .pools = pools, 190 const std::vector<hidl_memory> pools = {}; 198 .pools = pools, 313 const std::vector<hidl_memory> pools = {}; 321 .pools = pools,
|
/frameworks/ml/nn/common/ |
D | ValidateHal.cpp | 59 MemoryAccessVerifier(const hidl_vec<hidl_memory>& pools) in MemoryAccessVerifier() argument 60 : mPoolCount(pools.size()), mPoolSizes(mPoolCount) { in MemoryAccessVerifier() 62 mPoolSizes[i] = pools[i].size(); in MemoryAccessVerifier() 65 MemoryAccessVerifier(const hidl_vec<V1_3::Request::MemoryPool>& pools) in MemoryAccessVerifier() argument 66 : mPoolCount(pools.size()), mPoolSizes(mPoolCount) { in MemoryAccessVerifier() 68 switch (pools[i].getDiscriminator()) { in MemoryAccessVerifier() 70 mPoolSizes[i] = pools[i].hidlMemory().size(); in MemoryAccessVerifier() 170 const hidl_vec<hidl_memory>& pools, in validateOperands() argument 173 MemoryAccessVerifier poolVerifier(pools); in validateOperands() 545 static bool validatePools(const hidl_vec<T_MemoryPool>& pools, HalVersion ver) { in validatePools() argument [all …]
|
D | Utils.cpp | 449 LOG(INFO) << "pools" << SHOW_IF_DEBUG(toString(model.pools)); in logModelToInfo() 459 LOG(INFO) << "pools" << SHOW_IF_DEBUG(toString(model.pools)); in logModelToInfo() 469 LOG(INFO) << "pools" << SHOW_IF_DEBUG(toString(model.pools)); in logModelToInfo() 488 LOG(INFO) << "pools" << SHOW_IF_DEBUG(toString(model.pools)); in logModelToInfo() 2515 std::vector<bool> isPoolCompliant(model.pools.size(), false); in compliantWith() 2516 std::transform(model.pools.begin(), model.pools.end(), isPoolCompliant.begin(), in compliantWith() 2990 .pools = model.pools}; in convertToV1_0() 3003 .pools = model.pools}; in convertToV1_0() 3016 .pools = model.pools}; in convertToV1_0() 3025 .pools = model.pools, in convertToV1_1() [all …]
|
D | ExecutionBurstServer.cpp | 74 hidl_vec<hidl_memory> pools(slots.size()); in execute() local 75 std::transform(slots.begin(), slots.end(), pools.begin(), in execute() 80 fullRequest.pools = std::move(pools); in execute()
|
D | BufferTracker.cpp | 63 CHECK_LT(poolIndex, request.pools.size()); in validateRequest() 64 CHECK(request.pools[poolIndex].getDiscriminator() == in validateRequest()
|
D | ExecutionBurstController.cpp | 74 size_t count = 2 + request.inputs.size() + request.outputs.size() + request.pools.size(); in serialize() 93 /*.numberOfPools=*/static_cast<uint32_t>(request.pools.size())}); in serialize() 596 const std::vector<int32_t> slots = mMemoryCache->getSlots(request.pools, memoryIds); in compute()
|
D | MetaModel.cpp | 506 slice.mHidlModel.pools = mHidlModel.pools; in makeSlice()
|
D | CpuExecutor.cpp | 450 const hidl_vec<hidl_memory>& pools) { in setRunTimePoolInfosFromHidlMemories() argument 453 poolInfos->reserve(pools.size()); in setRunTimePoolInfosFromHidlMemories() 454 for (const auto& pool : pools) { in setRunTimePoolInfosFromHidlMemories() 467 const hidl_vec<Request::MemoryPool>& pools) { in setRunTimePoolInfosFromMemoryPools() argument 470 poolInfos->reserve(pools.size()); in setRunTimePoolInfosFromMemoryPools() 471 for (const auto& pool : pools) { in setRunTimePoolInfosFromMemoryPools()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 831 Mutexed<BlockPools>::Locked pools(mBlockPools); in start() local 834 pools->inputAllocatorId = (graphic) ? C2PlatformAllocatorStore::GRALLOC in start() 855 pools->inputAllocatorId = allocator->getId(); in start() 864 if ((poolMask >> pools->inputAllocatorId) & 1) { in start() 865 err = CreateCodec2BlockPool(pools->inputAllocatorId, nullptr, &pool); in start() 867 mName, pools->inputAllocatorId, in start() 885 pools->inputPool = pool; in start() 969 Mutexed<BlockPools>::Locked pools(mBlockPools); in start() local 972 pools->outputAllocatorId = (graphic) ? C2PlatformAllocatorStore::GRALLOC in start() 993 pools->outputAllocatorId = allocator->getId(); in start() [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_quant8/ |
D | stdout.txt.expect | 94 const std::vector<hidl_memory> pools = {}; 102 .pools = pools,
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_float/ |
D | stdout.txt.expect | 94 const std::vector<hidl_memory> pools = {}; 102 .pools = pools,
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_backward_compatibility_quant8/ |
D | stdout.txt.expect | 103 const std::vector<hidl_memory> pools = {}; 111 .pools = pools,
|
/frameworks/ml/nn/runtime/test/ |
D | TestCompliance.cpp | 179 .pools = {ahwbMemoryPool, sharedMemoryPool}, in TEST_F() 186 .pools = {sharedMemoryPool, ahwbMemoryPool}, in TEST_F() 200 .pools = {deviceMemoryPool, sharedMemoryPool}, in TEST_F() 207 .pools = {sharedMemoryPool, deviceMemoryPool}, in TEST_F()
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.cpp | 367 return setRunTimePoolInfosFromHidlMemories(&mPoolInfos, mModel.pools); in initialize() 376 requestPoolInfos.reserve(request.pools.size()); in createRunTimePoolInfos() 377 bufferWrappers.reserve(request.pools.size()); in createRunTimePoolInfos() 378 for (uint32_t i = 0; i < request.pools.size(); i++) { in createRunTimePoolInfos() 379 auto& pool = request.pools[i]; in createRunTimePoolInfos() 415 const auto& pool = request.pools[poolIndex]; in updateDeviceMemories() 424 const auto& pool = request.pools[poolIndex]; in updateDeviceMemories() 435 const auto& pool = request.pools[poolIndex]; in updateDeviceMemories() 725 const auto& pool = request.pools[poolIndex]; in executeFenced() 789 hidl_vec<Request::MemoryPool> pools(slots.size()); in execute() local [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/ |
D | stdout.txt.expect | 265 const std::vector<hidl_memory> pools = {}; 273 .pools = pools,
|
/frameworks/ml/nn/common/include/ |
D | CpuExecutor.h | 124 const hal::hidl_vec<hal::hidl_memory>& pools); 127 const hal::hidl_vec<hal::Request::MemoryPool>& pools);
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_backward_compatibility_float/ |
D | stdout.txt.expect | 274 const std::vector<hidl_memory> pools = {}; 282 .pools = pools,
|
/frameworks/ml/nn/runtime/ |
D | Manager.cpp | 365 request.pools.resize(count); in execute() 367 request.pools[i] = localMemories[i]->getMemoryPool(); in execute() 475 request.pools.resize(count); in executeFenced() 477 request.pools[i] = localMemories[i]->getMemoryPool(); in executeFenced() 682 if (!setRunTimePoolInfosFromHidlMemories(&poolInfos, hidlModel.pools)) { in create()
|
D | ModelBuilder.cpp | 906 model.pools.resize(mMemories.size()); in makeHidlModel() 907 std::transform(mMemories.begin(), mMemories.end(), model.pools.begin(), in makeHidlModel()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 220 std::unique_ptr<C2PortBlockPoolsTuning::output> pools = in play() local 223 (void)component->intf()->config_vb({pools.get()}, C2_DONT_BLOCK, &result); in play()
|