Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/src/
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()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBurst.h116 const std::shared_ptr<MemoryCache> kMemoryCache; variable
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecutionBurstController.h146 const std::weak_ptr<MemoryCache> kMemoryCache;