Home
last modified time | relevance | path

Searched refs:MemoryPool (Results 1 – 17 of 17) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp151 const Request::MemoryPool ahwbMemoryPool = ahwb->getMemoryPool(); in TEST_F()
156 const Request::MemoryPool sharedMemoryPool = std::move(maybeSharedMemoryPool).value(); in TEST_F()
190 const Request::MemoryPool sharedMemoryPool = std::move(maybeSharedMemoryPool).value(); in TEST_F()
191 const Request::MemoryPool deviceMemoryPool = Request::MemoryDomainToken(1); in TEST_F()
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h359 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool);
368 std::vector<Request::MemoryPool> uncheckedConvert(
369 const hardware::hidl_vec<V1_3::Request::MemoryPool>& memoryPools);
400 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool);
DValidateHal.h76 bool validatePool(const V1_3::Request::MemoryPool& pool, HalVersion ver = HalVersion::LATEST);
DCpuExecutor.h127 const std::vector<Request::MemoryPool>& pools);
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp1431 if (pool.getDiscriminator() != V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory) { in compliantWithV1_0()
1441 if (pool.getDiscriminator() != V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory) { in compliantWithV1_2()
1450 static hardware::hidl_memory convertToV1_0(const V1_3::Request::MemoryPool& pool) { in convertToV1_0()
1452 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: in convertToV1_0()
1454 case V1_3::Request::MemoryPool::hidl_discriminator::token: in convertToV1_0()
1459 static V1_3::Request::MemoryPool convertToV1_3(const hardware::hidl_memory& pool) { in convertToV1_3()
1460 V1_3::Request::MemoryPool ret; in convertToV1_3()
1493 hardware::hidl_vec<V1_3::Request::MemoryPool> pools(request.pools.size()); in convertToV1_3()
1580 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool) { in uncheckedConvert()
1735 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool) { in convertToV1_3()
[all …]
DValidateHal.cpp64 MemoryAccessVerifier(const hardware::hidl_vec<V1_3::Request::MemoryPool>& pools) in MemoryAccessVerifier()
68 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: in MemoryAccessVerifier()
71 case V1_3::Request::MemoryPool::hidl_discriminator::token: in MemoryAccessVerifier()
538 bool validatePool(const V1_3::Request::MemoryPool& pool, HalVersion ver) { in validatePool()
540 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: in validatePool()
542 case V1_3::Request::MemoryPool::hidl_discriminator::token: in validatePool()
DUtilsTest.cpp135 V1_3::Request::MemoryPool pool; in TEST()
177 V1_3::Request::MemoryPool pool; in TEST()
DCpuExecutor.cpp383 const std::vector<Request::MemoryPool>& pools) { in setRunTimePoolInfosFromMemoryPools()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp380 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: { in createRunTimePoolInfos()
390 case V1_3::Request::MemoryPool::hidl_discriminator::token: { in createRunTimePoolInfos()
416 if (pool.getDiscriminator() == V1_3::Request::MemoryPool::hidl_discriminator::token) { in updateDeviceMemories()
425 if (pool.getDiscriminator() == V1_3::Request::MemoryPool::hidl_discriminator::token) { in updateDeviceMemories()
436 if (pool.getDiscriminator() == V1_3::Request::MemoryPool::hidl_discriminator::token) { in updateDeviceMemories()
737 if (pool.getDiscriminator() == V1_3::Request::MemoryPool::hidl_discriminator::token) { in executeFenced()
800 hardware::hidl_vec<V1_3::Request::MemoryPool> pools(slots.size()); in execute()
802 V1_3::Request::MemoryPool pool; in execute()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h922 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>; member
946 std::vector<MemoryPool> pools;
DTypeUtils.h128 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);
/packages/modules/NeuralNetworks/runtime/
DMemory.h175 Request::MemoryPool getMemoryPool() const;
DMemory.cpp199 Request::MemoryPool RuntimeMemory::getMemoryPool() const { in getMemoryPool()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp200 std::vector<Request::MemoryPool> pools; in createRequest()
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp697 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<()
DValidation.cpp1067 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool()
1086 [](const Request::MemoryPool& memoryPool) { in validateRequest()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec7993 %{vec}<MemoryPool> pools;