Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b84616f authored by Xusong Wang's avatar Xusong Wang
Browse files

Fix VTS generated test with reusable execution.

Fixes: 273819843
Bug: 273885128
Test: NNAPI VTS
Change-Id: Ib684cea0686659a96afa6d181900edf7508da12b
parent df1ec092
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -736,8 +736,8 @@ void EvaluatePreparedModel(const std::shared_ptr<IDevice>& device,
                    // If a sync fence is returned, try start another run waiting for the sync
                    // fence.
                    if (testConfig.reusable) {
                        ret = execution->executeFenced(waitFor, kNoDeadline, kNoDuration,
                                                       &executionResult);
                        // Nothing to do because at most one execution may occur on a reusable
                        // execution object at any given time.
                    } else if (testConfig.useConfig) {
                        ret = preparedModel->executeFencedWithConfig(
                                request, waitFor,