Searched refs:kMemoryCache (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Burst.cpp | 160 adapter::executeSynchronously(*kBurst, kMemoryCache, request, memoryIdentifierTokens, in executeSynchronously() 176 *kBurst, kMemoryCache, request, memoryIdentifierTokens, config.measureTiming, in executeSynchronouslyWithConfig() 195 kMemoryCache.remove(memoryIdentifierToken); in releaseMemoryResource()
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | Burst.h | 72 const ThreadSafeMemoryCache kMemoryCache; variable
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Burst.cpp | 170 kMemoryCache(std::make_shared<MemoryCache>(kBurst)), in Burst() 176 auto [identifier, hold] = kMemoryCache->getOrCacheMemory(memory); in cacheMemory() 203 if (auto cached = kMemoryCache->getMemoryIfAvailable(*memory)) { in execute() 286 if (auto cached = kMemoryCache->getMemoryIfAvailable(*memory)) { in createReusableExecution()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Burst.h | 123 const std::shared_ptr<MemoryCache> kMemoryCache; variable
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Burst.h | 144 const std::weak_ptr<MemoryCache> kMemoryCache;
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Burst.cpp | 211 : kMemoryCache(memoryCache) { in ExecutionBurstCallback() 217 const auto memoryCache = kMemoryCache.lock(); in getMemories()
|