/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Utils.cpp | 116 auto pools = NN_TRY(clone(request.pools)); in clone() local 120 .pools = std::move(pools), in clone() 125 auto pools = NN_TRY(clone(model.pools)); in clone() local 130 .pools = std::move(pools), in clone()
|
D | Burst.cpp | 199 memoryIdentifierTokens.reserve(requestInShared.pools.size()); in execute() 200 holds.reserve(requestInShared.pools.size()); in execute() 201 for (const auto& memoryPool : requestInShared.pools) { in execute() 212 CHECK_EQ(requestInShared.pools.size(), memoryIdentifierTokens.size()); in execute() 282 memoryIdentifierTokens.reserve(requestInShared.pools.size()); in createReusableExecution() 283 holds.reserve(requestInShared.pools.size()); in createReusableExecution() 284 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution() 295 CHECK_EQ(requestInShared.pools.size(), memoryIdentifierTokens.size()); in createReusableExecution()
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Conversions.cpp | 123 auto pools = NN_TRY(unvalidatedConvert(model.pools)); in unvalidatedConvert() local 127 .pools = std::move(pools), in unvalidatedConvert() 242 auto pools = NN_TRY(unvalidatedConvert(model.pools)); in unvalidatedConvert() local 249 .pools = std::move(pools), in unvalidatedConvert()
|
/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()
|
/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()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | ValidateRequest.cpp | 139 const std::vector<int64_t> slots(request.pools.size(), -1); in validate() 195 const std::vector<int64_t> slots(request.pools.size(), -1); in validate() 266 slots.reserve(request.pools.size()); in validateBurst() 267 for (const auto& pool : request.pools) { in validateBurst() 278 for (size_t i = 0; i < request.pools.size(); ++i) { in validateBurst() 288 if (request.pools.size() > 0) { in validateBurst() 289 slots = std::vector<int64_t>(request.pools.size() - 1, -1); in validateBurst() 294 slots = std::vector<int64_t>(request.pools.size() + 1, -1); in validateBurst()
|
D | MemoryDomainTests.cpp | 241 std::vector<RequestMemoryPool> createRequestMemoryPools(const Args&... pools) { in createRequestMemoryPools() argument 245 (memoryPools.push_back(utils::clone(pools).value()), ...); in createRequestMemoryPools() 985 const std::vector<int64_t> slots(request.pools.size(), -1); in executeBurst() 1019 .pools = createRequestMemoryPools(sharedMemory, badDeviceMemory1)}, in TEST_P() 1024 .pools = createRequestMemoryPools(sharedMemory, badDeviceMemory2)}, in TEST_P() 1029 .pools = createRequestMemoryPools(sharedMemory, badDeviceMemory1)}, in TEST_P() 1034 .pools = createRequestMemoryPools(sharedMemory, badDeviceMemory2)}, in TEST_P() 1056 .pools = createRequestMemoryPools(sharedMemory, deviceMemory)}, in TEST_P() 1061 .pools = createRequestMemoryPools(sharedMemory, deviceMemory)}, in TEST_P() 1087 .pools = createRequestMemoryPools(sharedMemory1, sharedMemory2, sharedMemory3, in TEST_P() [all …]
|
D | Utils.cpp | 254 std::vector<RequestMemoryPool> pools; in createRequest() local 255 pools.push_back(RequestMemoryPool::make<RequestMemoryPool::Tag::pool>( in createRequest() 257 pools.push_back(RequestMemoryPool::make<RequestMemoryPool::Tag::pool>( in createRequest() 271 return {.inputs = std::move(inputs), .outputs = std::move(outputs), .pools = std::move(pools)}; in createRequest()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 316 auto pools = NN_TRY(unvalidatedConvert(model.pools)); in unvalidatedConvert() local 320 .pools = std::move(pools), in unvalidatedConvert() 336 auto memories = NN_TRY(unvalidatedConvert(request.pools)); in unvalidatedConvert() 337 std::vector<Request::MemoryPool> pools; in unvalidatedConvert() local 338 pools.reserve(memories.size()); in unvalidatedConvert() 339 std::move(memories.begin(), memories.end(), std::back_inserter(pools)); in unvalidatedConvert() 346 .pools = std::move(pools), in unvalidatedConvert() 595 auto pools = NN_TRY(unvalidatedConvert(model.pools)); in unvalidatedConvert() local 602 .pools = std::move(pools), in unvalidatedConvert() 633 auto pools = NN_TRY(unvalidatedConvert(request.pools)); in unvalidatedConvert() local [all …]
|
/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()
|
/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 | 972 .pools = {sharedMemory, badDeviceMemory1}}, in TEST_P() 977 .pools = {sharedMemory, badDeviceMemory2}}, in TEST_P() 982 .pools = {sharedMemory, badDeviceMemory1}}, in TEST_P() 987 .pools = {sharedMemory, badDeviceMemory2}}, in TEST_P() 1009 .pools = {sharedMemory, deviceMemory}}, in TEST_P() 1014 .pools = {sharedMemory, deviceMemory}}, in TEST_P() 1040 .pools = {sharedMemory1, sharedMemory2, sharedMemory3, deviceMemory}}, in TEST_P() 1047 .pools = {sharedMemory1, sharedMemory2, sharedMemory3, deviceMemory}}, in TEST_P() 1067 .pools = {sharedMemory, deviceMemory}}, in TEST_P() 1076 .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()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 195 auto pools = NN_TRY(unvalidatedConvert(model.pools)); in unvalidatedConvert() local 201 .pools = std::move(pools), in unvalidatedConvert() 247 auto pools = NN_TRY(unvalidatedConvert(request.pools)); in unvalidatedConvert() local 251 .pools = std::move(pools), in unvalidatedConvert() 565 auto pools = NN_TRY(unvalidatedConvert(model.pools)); in unvalidatedConvert() local 571 .pools = std::move(pools), in unvalidatedConvert() 617 auto pools = NN_TRY(unvalidatedConvert(request.pools)); in unvalidatedConvert() local 621 .pools = std::move(pools), in unvalidatedConvert()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_performance_query/ |
D | features.adoc | 20 supports performance counter query pools. 23 implementation supports using multiple performance query pools in a
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Burst.cpp | 333 .inputs = requestInShared.inputs, .outputs = requestInShared.outputs, .pools = {}}; in execute() 339 slots.reserve(requestInShared.pools.size()); in execute() 340 holds.reserve(requestInShared.pools.size()); in execute() 341 for (const auto& memoryPool : requestInShared.pools) { in execute() 380 .inputs = requestInShared.inputs, .outputs = requestInShared.outputs, .pools = {}}; in createReusableExecution() 386 slots.reserve(requestInShared.pools.size()); in createReusableExecution() 387 holds.reserve(requestInShared.pools.size()); in createReusableExecution() 388 for (const auto& memoryPool : requestInShared.pools) { in createReusableExecution()
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | Request.aidl | 53 RequestMemoryPool[] pools;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | Request.aidl | 39 android.hardware.neuralnetworks.RequestMemoryPool[] pools;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/ |
D | Request.aidl | 39 android.hardware.neuralnetworks.RequestMemoryPool[] pools;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | Request.aidl | 39 android.hardware.neuralnetworks.RequestMemoryPool[] pools;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/ |
D | Request.aidl | 39 android.hardware.neuralnetworks.RequestMemoryPool[] pools;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/ |
D | Request.aidl | 39 android.hardware.neuralnetworks.RequestMemoryPool[] pools;
|