Home
last modified time | relevance | path

Searched refs:pools (Results 1 – 24 of 24) sorted by relevance

/frameworks/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp156 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/
Dstdout.txt.expect112 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/
Dstdout.txt.expect112 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/
Dstdout.txt.expect112 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/
Dstdout.txt.expect67 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/
DValidateHal.cpp59 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 …]
DUtils.cpp449 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 …]
DExecutionBurstServer.cpp74 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()
DBufferTracker.cpp63 CHECK_LT(poolIndex, request.pools.size()); in validateRequest()
64 CHECK(request.pools[poolIndex].getDiscriminator() == in validateRequest()
DExecutionBurstController.cpp74 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()
DMetaModel.cpp506 slice.mHidlModel.pools = mHidlModel.pools; in makeSlice()
DCpuExecutor.cpp450 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/
DCCodecBufferChannel.cpp831 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/
Dstdout.txt.expect94 const std::vector<hidl_memory> pools = {};
102 .pools = pools,
/frameworks/ml/nn/tools/test_generator/tests/P_vts_float/
Dstdout.txt.expect94 const std::vector<hidl_memory> pools = {};
102 .pools = pools,
/frameworks/ml/nn/tools/test_generator/tests/P_vts_backward_compatibility_quant8/
Dstdout.txt.expect103 const std::vector<hidl_memory> pools = {};
111 .pools = pools,
/frameworks/ml/nn/runtime/test/
DTestCompliance.cpp179 .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/
DSampleDriver.cpp367 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/
Dstdout.txt.expect265 const std::vector<hidl_memory> pools = {};
273 .pools = pools,
/frameworks/ml/nn/common/include/
DCpuExecutor.h124 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/
Dstdout.txt.expect274 const std::vector<hidl_memory> pools = {};
282 .pools = pools,
/frameworks/ml/nn/runtime/
DManager.cpp365 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()
DModelBuilder.cpp906 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/
Dcodec2.cpp220 std::unique_ptr<C2PortBlockPoolsTuning::output> pools = in play() local
223 (void)component->intf()->config_vb({pools.get()}, C2_DONT_BLOCK, &result); in play()