Home
last modified time | relevance | path

Searched refs:cacheMemory (Results 1 – 15 of 15) sorted by relevance

/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/src/
H A DExecutionBurstController.cpp128 ExecutionBurstController::MemoryCache::cacheMemory(const nn::SharedMemory& memory) { in cacheMemory() function in android::hardware::neuralnetworks::V1_2::utils::ExecutionBurstController::MemoryCache
302 ExecutionBurstController::OptionalCacheHold ExecutionBurstController::cacheMemory( in cacheMemory() function in android::hardware::neuralnetworks::V1_2::utils::ExecutionBurstController
304 auto [slot, hold] = mMemoryCache->cacheMemory(memory); in cacheMemory()
346 auto [slot, hold] = mMemoryCache->cacheMemory(std::get<nn::SharedMemory>(memoryPool)); in execute()
391 auto [slot, hold] = mMemoryCache->cacheMemory(std::get<nn::SharedMemory>(memoryPool)); in createReusableExecution()
H A DExecutionBurstServer.cpp138 auto hold = kBurstExecutor->cacheMemory(memory); in addCacheEntryLocked()
/aosp12/hardware/interfaces/neuralnetworks/utils/common/src/
H A DResilientBurst.cpp101 ResilientBurst::OptionalCacheHold ResilientBurst::cacheMemory( in cacheMemory() function in android::hardware::neuralnetworks::utils::ResilientBurst
103 return getBurst()->cacheMemory(memory); in cacheMemory()
H A DInvalidBurst.cpp29 InvalidBurst::OptionalCacheHold InvalidBurst::cacheMemory( in cacheMemory() function in android::hardware::neuralnetworks::utils::InvalidBurst
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
H A DExecutionBurstController.h110 std::pair<int32_t, SharedCleanup> cacheMemory(const nn::SharedMemory& memory);
170 OptionalCacheHold cacheMemory(const nn::SharedMemory& memory) const override;
/aosp12/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
H A DInvalidBurst.h32 OptionalCacheHold cacheMemory(const nn::SharedMemory& memory) const override;
H A DResilientBurst.h47 OptionalCacheHold cacheMemory(const nn::SharedMemory& memory) const override;
/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DCanonicalBurst.h39 OptionalCacheHold cacheMemory(const SharedMemory& memory) const override;
H A DCanonicalBurst.cpp38 Burst::OptionalCacheHold Burst::cacheMemory(const SharedMemory& /*memory*/) const { in cacheMemory() function in android::nn::sample::Burst
/aosp12/packages/modules/NeuralNetworks/common/include/nnapi/
H A DIBurst.h65 virtual OptionalCacheHold cacheMemory(const SharedMemory& memory) const = 0;
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
H A DBurst.h44 OptionalCacheHold cacheMemory(const nn::SharedMemory& memory) const override;
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/src/
H A DBurst.cpp47 Burst::OptionalCacheHold Burst::cacheMemory(const nn::SharedMemory& /*memory*/) const { in cacheMemory() function in android::hardware::neuralnetworks::V1_0::utils::Burst
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
H A DBurst.h95 OptionalCacheHold cacheMemory(const nn::SharedMemory& memory) const override;
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/src/
H A DBurst.cpp167 Burst::OptionalCacheHold Burst::cacheMemory(const nn::SharedMemory& memory) const { in cacheMemory() function in aidl::android::hardware::neuralnetworks::utils::Burst
/aosp12/packages/modules/NeuralNetworks/runtime/
H A DManager.cpp543 auto cacheHold = burstController->cacheMemory(*maybeMemory); in execute()
682 auto cacheHold = burstController->cacheMemory(*maybeMemory); in compute()