Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DExecutionBuilder.cpp227 sp<ExecutionCallback> fallbackCallback; in cpuFallbackFull() local
228 int n = executor.startCompute(&fallbackCallback); in cpuFallbackFull()
233 fallbackCallback->wait(); in cpuFallbackFull()
234 executionCallback->notify(fallbackCallback->getStatus()); in cpuFallbackFull()
254 sp<ExecutionCallback> fallbackCallback; in cpuFallbackPartial() local
255 if (executor->startComputeOnCpu(&fallbackCallback) != ANEURALNETWORKS_NO_ERROR) { in cpuFallbackPartial()
259 fallbackCallback->wait(); in cpuFallbackPartial()
260 if (fallbackCallback->getStatus() != ErrorStatus::NONE) { in cpuFallbackPartial()