Home
last modified time | relevance | path

Searched refs:kMemoryCache (Results 1 – 4 of 4) sorted by relevance

/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/src/
H A DBurst.cpp163 : kBurst(std::move(burst)), kMemoryCache(std::make_shared<MemoryCache>(kBurst)) { in Burst()
168 auto [identifier, hold] = kMemoryCache->getOrCacheMemory(memory); in cacheMemory()
196 if (auto cached = kMemoryCache->getMemoryIfAvailable(*memory)) { in execute()
265 if (auto cached = kMemoryCache->getMemoryIfAvailable(*memory)) { in createReusableExecution()
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
H A DBurst.h116 const std::shared_ptr<MemoryCache> kMemoryCache; variable
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
H A DExecutionBurstController.h146 const std::weak_ptr<MemoryCache> kMemoryCache;
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/src/
H A DExecutionBurstController.cpp212 : kMemoryCache(memoryCache) { in ExecutionBurstCallback()
218 const auto memoryCache = kMemoryCache.lock(); in getMemories()