/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | ValidateRequest.cpp | 63 ExecutionResult executionResult; in validateReusableExecution() local 64 const auto executeStatus = execution->executeSynchronously(kNoDeadline, &executionResult); in validateReusableExecution() 74 FencedExecutionResult executionResult; in validateReusableExecution() local 76 execution->executeFenced({}, kNoDeadline, kNoDuration, &executionResult); in validateReusableExecution() 106 ExecutionResult executionResult; in validate() local 108 request, measure, kNoDeadline, kOmittedTimeoutDuration, &executionResult); in validate() 118 FencedExecutionResult executionResult; in validate() local 121 kNoDuration, &executionResult); in validate() 141 ExecutionResult executionResult; in validate() local 143 request, slots, measure, kNoDeadline, kOmittedTimeoutDuration, &executionResult); in validate() [all …]
|
D | QualityOfServiceTests.cpp | 164 ExecutionResult executionResult; in executeSynchronously() local 166 kOmittedTimeoutDuration, &executionResult); in executeSynchronously() 178 return MaybeResults({executionResult.outputSufficientSize in executeSynchronously() 181 std::move(executionResult.outputShapes), executionResult.timing}); in executeSynchronously() 202 ExecutionResult executionResult; in executeBurst() local 204 &executionResult); in executeBurst() 216 return MaybeResults({executionResult.outputSufficientSize in executeBurst() 219 std::move(executionResult.outputShapes), executionResult.timing}); in executeBurst()
|
D | GeneratedTestHarness.cpp | 625 ExecutionResult executionResult; in EvaluatePreparedModel() local 629 ret = execution->executeSynchronously(kNoDeadline, &executionResult); in EvaluatePreparedModel() 633 kNoDeadline, &executionResult); in EvaluatePreparedModel() 637 &executionResult); in EvaluatePreparedModel() 642 executionStatus = executionResult.outputSufficientSize in EvaluatePreparedModel() 645 outputShapes = std::move(executionResult.outputShapes); in EvaluatePreparedModel() 646 timing = executionResult.timing; in EvaluatePreparedModel() 675 ExecutionResult executionResult; in EvaluatePreparedModel() local 681 &executionResult); in EvaluatePreparedModel() 685 &executionResult); in EvaluatePreparedModel() [all …]
|
D | MemoryDomainTests.cpp | 933 ExecutionResult executionResult; in executeSync() local 935 request, false, kNoDeadline, kOmittedTimeoutDuration, &executionResult); in executeSync() 941 const ErrorStatus executionStatus = executionResult.outputSufficientSize in executeSync() 944 EXPECT_EQ(executionResult.timing, kNoTiming); in executeSync() 950 FencedExecutionResult executionResult; in executeFenced() local 953 &executionResult); in executeFenced() 958 if (executionResult.syncFence.get() != -1) { in executeFenced() 959 waitForSyncFence(executionResult.syncFence.get()); in executeFenced() 961 EXPECT_NE(executionResult.callback, nullptr); in executeFenced() 967 executionResult.callback->getExecutionInfo(&time, &timeFenced, &executionStatus); in executeFenced() [all …]
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | PreparedModel.h | 47 ExecutionResult* executionResult) override; 52 FencedExecutionResult* executionResult) override; 60 ExecutionResult* executionResult) override; 64 FencedExecutionResult* executionResult) override;
|
D | Burst.h | 48 ExecutionResult* executionResult) override; 52 ExecutionResult* executionResult) override;
|
D | Execution.h | 45 ExecutionResult* executionResult) override;
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | PreparedModel.cpp | 245 ExecutionResult* executionResult) { in executeSynchronously() argument 254 *executionResult = std::move(result).value(); in executeSynchronously() 261 FencedExecutionResult* executionResult) { in executeFenced() argument 270 *executionResult = std::move(result).value(); in executeFenced() 277 ExecutionResult* executionResult) { in executeSynchronouslyWithConfig() argument 287 *executionResult = std::move(result).value(); in executeSynchronouslyWithConfig() 294 FencedExecutionResult* executionResult) { in executeFencedWithConfig() argument 304 *executionResult = std::move(result).value(); in executeFencedWithConfig() 345 ExecutionResult* executionResult) { in executeSynchronously() argument 353 *executionResult = std::move(result).value(); in executeSynchronously() [all …]
|
D | Burst.cpp | 158 ExecutionResult* executionResult) { in executeSynchronously() argument 168 *executionResult = std::move(result).value(); in executeSynchronously() 174 const ExecutionConfig& config, int64_t deadlineNs, ExecutionResult* executionResult) { in executeSynchronouslyWithConfig() argument 185 *executionResult = std::move(result).value(); in executeSynchronouslyWithConfig()
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockBurst.h | 32 ExecutionResult* executionResult), 36 const ExecutionConfig& config, int64_t deadline, ExecutionResult* executionResult),
|
D | MockPreparedModel.h | 34 int64_t loopTimeoutDuration, ExecutionResult* executionResult), 43 ExecutionResult* executionResult),
|
D | MockExecution.h | 32 (int64_t deadline, ExecutionResult* executionResult), (override));
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | PreparedModel.cpp | 159 ExecutionResult executionResult; in executeInternal() local 167 deadline, &executionResult); in executeInternal() 171 request, measure, deadline, loopTimeoutDuration, &executionResult); in executeInternal() 174 return handleExecutionResult(executionResult, relocation); in executeInternal() 288 ExecutionResult executionResult; in compute() local 289 auto ret = kExecution->executeSynchronously(aidlDeadline, &executionResult); in compute() 291 return handleExecutionResult(executionResult, kRelocation); in compute()
|
D | Burst.cpp | 233 ExecutionResult executionResult; in executeInternal() local 241 deadline, &executionResult); in executeInternal() 246 loopTimeoutDuration, &executionResult); in executeInternal() 249 if (!executionResult.outputSufficientSize) { in executeInternal() 251 nn::convert(executionResult.outputShapes).value_or(std::vector<nn::OutputShape>{}); in executeInternal() 256 NN_TRY(convertExecutionResults(executionResult.outputShapes, executionResult.timing)); in executeInternal()
|