Searched refs:executionStatus (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriver.cpp | 492 V1_3::ErrorStatus executionStatus = convertResultCodeToHalErrorStatus(n); in asyncExecute() local 497 updateDeviceMemories(executionStatus, request, bufferWrappers, outputShapes); in asyncExecute() 503 if (measure == V1_2::MeasureTiming::YES && executionStatus == V1_3::ErrorStatus::NONE) { in asyncExecute() 509 notify(callback, executionStatus, outputShapes, timing); in asyncExecute() 511 notify(callback, executionStatus, outputShapes, kNoTiming); in asyncExecute() 624 V1_3::ErrorStatus executionStatus = convertResultCodeToHalErrorStatus(n); in executeSynchronouslyBase() local 629 updateDeviceMemories(executionStatus, request, bufferWrappers, outputShapes); in executeSynchronouslyBase() 634 if (measure == V1_2::MeasureTiming::YES && executionStatus == V1_3::ErrorStatus::NONE) { in executeSynchronouslyBase() 640 return {executionStatus, std::move(outputShapes), timing}; in executeSynchronouslyBase() 642 return {executionStatus, std::move(outputShapes), kNoTiming}; in executeSynchronouslyBase() [all …]
|
D | CanonicalPreparedModel.cpp | 171 ErrorStatus executionStatus = convertResultCodeToErrorStatus(n); in execute() local 176 updateDeviceMemories(executionStatus, request, bufferWrappers, outputShapes); in execute() 180 if (executionStatus != ErrorStatus::NONE) { in execute() 181 return NN_ERROR(executionStatus, outputShapes); in execute() 252 ErrorStatus executionStatus = convertResultCodeToErrorStatus(n); in executeFenced() local 253 if (executionStatus != ErrorStatus::NONE) { in executeFenced() 254 return NN_ERROR(executionStatus); in executeFenced()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriver.cpp | 445 aidl_hal::ErrorStatus executionStatus = convertResultCodeToAidlErrorStatus(n); in executeSynchronously() local 446 if (executionStatus != aidl_hal::ErrorStatus::NONE && in executeSynchronously() 447 executionStatus != aidl_hal::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE) { in executeSynchronously() 448 return toAStatus(executionStatus); in executeSynchronously() 454 updateDeviceMemories(executionStatus, request, bufferWrappers, outputShapes); in executeSynchronously() 460 executionStatus != aidl_hal::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE; in executeSynchronously() 463 if (measureTiming && executionStatus == aidl_hal::ErrorStatus::NONE) { in executeSynchronously() 560 aidl_hal::ErrorStatus executionStatus = convertResultCodeToAidlErrorStatus(n); in executeFenced() local 561 if (executionStatus != aidl_hal::ErrorStatus::NONE) { in executeFenced() 562 return toAStatus(executionStatus); in executeFenced() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.cpp | 54 static bool validateOutputShapesFromDriver(ErrorStatus executionStatus, const ModelBuilder* model, in validateOutputShapesFromDriver() argument 63 switch (executionStatus) { in validateOutputShapesFromDriver() 66 << "With execution ErrorStatus " << executionStatus in validateOutputShapesFromDriver() 71 << "With execution ErrorStatus " << executionStatus in validateOutputShapesFromDriver() 80 << "With execution ErrorStatus " << executionStatus << " output#" in validateOutputShapesFromDriver() 88 << "With execution ErrorStatus " << executionStatus in validateOutputShapesFromDriver() 93 << "With execution ErrorStatus " << executionStatus in validateOutputShapesFromDriver() 99 << "With execution ErrorStatus " << executionStatus in validateOutputShapesFromDriver()
|