Home
last modified time | relevance | path

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

/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.h75 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.cpp1428 if (pool.getDiscriminator() != V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory) { in compliantWithV1_0()
1438 if (pool.getDiscriminator() != V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory) { in compliantWithV1_2()
1447 static hardware::hidl_memory convertToV1_0(const V1_3::Request::MemoryPool& pool) { in convertToV1_0()
1449 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: in convertToV1_0()
1451 case V1_3::Request::MemoryPool::hidl_discriminator::token: in convertToV1_0()
1456 static V1_3::Request::MemoryPool convertToV1_3(const hardware::hidl_memory& pool) { in convertToV1_3()
1457 V1_3::Request::MemoryPool ret; in convertToV1_3()
1490 hardware::hidl_vec<V1_3::Request::MemoryPool> pools(request.pools.size()); in convertToV1_3()
1577 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool) { in uncheckedConvert()
1732 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()
DTypeUtils.cpp820 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<()
DValidation.cpp1091 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool()
1110 [](const Request::MemoryPool& memoryPool) { in validateRequest()
DCpuExecutor.cpp383 const std::vector<Request::MemoryPool>& pools) { in setRunTimePoolInfosFromMemoryPools()
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriver.cpp391 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: { in createRunTimePoolInfos()
401 case V1_3::Request::MemoryPool::hidl_discriminator::token: { in createRunTimePoolInfos()
427 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()
447 if (pool.getDiscriminator() == V1_3::Request::MemoryPool::hidl_discriminator::token) { in updateDeviceMemories()
748 if (pool.getDiscriminator() == V1_3::Request::MemoryPool::hidl_discriminator::token) { in executeFenced()
811 hardware::hidl_vec<V1_3::Request::MemoryPool> pools(slots.size()); in execute()
813 V1_3::Request::MemoryPool pool; in execute()
/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp174 V1_3::Request::MemoryPool sharedMemoryPool, in TEST_F()
197 V1_3::Request::MemoryPool sharedMemoryPool, deviceMemoryPool; in TEST_F()
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypes.h898 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>; member
922 std::vector<MemoryPool> pools;
DTypeUtils.h129 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp190 std::vector<Request::MemoryPool> pools = {std::move(inputMemory), std::move(outputMemory)}; in createRequest()
/packages/modules/NeuralNetworks/runtime/
DMemory.h175 Request::MemoryPool getMemoryPool() const;
DMemory.cpp195 Request::MemoryPool RuntimeMemory::getMemoryPool() const { in getMemoryPool()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp227 hidl_vec<V1_3::Request::MemoryPool> pools(2); in createRequest()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec7800 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>;
7807 safe_union MemoryPool {