Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DCallbacks.cpp124 ExecutionCallback::ExecutionCallback() : mErrorStatus(ErrorStatus::GENERAL_FAILURE) {} in ExecutionCallback() function in android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback
126 ExecutionCallback::~ExecutionCallback() {} in ~ExecutionCallback()
128 Return<void> ExecutionCallback::notify(ErrorStatus errorStatus) { in notify()
134 ErrorStatus ExecutionCallback::getStatus() { in getStatus()
DExecutionBuilder.cpp187 const sp<ExecutionCallback>& executionCallback) { in cpuFallbackFull()
193 sp<ExecutionCallback> fallbackCallback; in cpuFallbackFull()
211 const sp<ExecutionCallback>& executionCallback) { in cpuFallbackPartial()
219 sp<ExecutionCallback> fallbackCallback; in cpuFallbackPartial()
236 const sp<ExecutionCallback>& executionCallback) { in asyncStartComputePartitioned()
255 sp<ExecutionCallback> stepCallback; in asyncStartComputePartitioned()
292 int ExecutionBuilder::startCompute(sp<ExecutionCallback>* synchronizationCallback) { in startCompute()
336 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in startCompute()
469 int StepExecutor::startCompute(sp<ExecutionCallback>* synchronizationCallback) { in startCompute()
477 int StepExecutor::startComputeOnDevice(sp<ExecutionCallback>* synchronizationCallback) { in startComputeOnDevice()
[all …]
DExecutionBuilder.h29 using ::android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback;
78 int startCompute(sp<ExecutionCallback>* synchronizationCallback);
151 int startCompute(sp<ExecutionCallback>* synchronizationCallback);
155 int startComputeOnCpu(sp<ExecutionCallback>* synchronizationCallback);
161 int startComputeOnDevice(sp<ExecutionCallback>* synchronizationCallback);
DCallbacks.h269 class ExecutionCallback : public CallbackBase, public IExecutionCallback {
271 ExecutionCallback();
272 ~ExecutionCallback() override;
DNeuralNetworks.cpp453 std::unique_ptr<sp<ExecutionCallback>> e = std::make_unique<sp<ExecutionCallback>>(); in ANeuralNetworksExecution_startCompute()
470 sp<ExecutionCallback>* e = reinterpret_cast<sp<ExecutionCallback>*>(event); in ANeuralNetworksEvent_wait()
478 sp<ExecutionCallback>* e = reinterpret_cast<sp<ExecutionCallback>*>(event); in ANeuralNetworksEvent_free()
DExecutionPlan.cpp35 using ::android::hardware::neuralnetworks::V1_0::implementation::ExecutionCallback;