Searched refs:MemoryPool (Results 1 – 18 of 18) sorted by relevance
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyHalUtils.h | 359 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);
|
D | ValidateHal.h | 75 bool validatePool(const V1_3::Request::MemoryPool& pool, HalVersion ver = HalVersion::LATEST);
|
D | CpuExecutor.h | 127 const std::vector<Request::MemoryPool>& pools);
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 1428 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 …]
|
D | ValidateHal.cpp | 64 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()
|
D | UtilsTest.cpp | 135 V1_3::Request::MemoryPool pool; in TEST() 177 V1_3::Request::MemoryPool pool; in TEST()
|
D | TypeUtils.cpp | 820 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<()
|
D | Validation.cpp | 1091 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool() 1110 [](const Request::MemoryPool& memoryPool) { in validateRequest()
|
D | CpuExecutor.cpp | 383 const std::vector<Request::MemoryPool>& pools) { in setRunTimePoolInfosFromMemoryPools()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriver.cpp | 391 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/ |
D | TestCompliance.cpp | 174 V1_3::Request::MemoryPool sharedMemoryPool, in TEST_F() 197 V1_3::Request::MemoryPool sharedMemoryPool, deviceMemoryPool; in TEST_F()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Types.h | 898 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>; member 922 std::vector<MemoryPool> pools;
|
D | TypeUtils.h | 129 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestUtils.cpp | 190 std::vector<Request::MemoryPool> pools = {std::move(inputMemory), std::move(outputMemory)}; in createRequest()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Memory.h | 175 Request::MemoryPool getMemoryPool() const;
|
D | Memory.cpp | 195 Request::MemoryPool RuntimeMemory::getMemoryPool() const { in getMemoryPool()
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | DriverFuzzTest.cpp | 227 hidl_vec<V1_3::Request::MemoryPool> pools(2); in createRequest()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | types.spec | 7800 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>; 7807 safe_union MemoryPool {
|