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

Commit c48ea23b authored by Miao Wang's avatar Miao Wang Committed by Automerger Merge Worker
Browse files

Merge "Fix the timing initialization error for failed executeFenced case" into...

Merge "Fix the timing initialization error for failed executeFenced case" into rvc-dev am: 1be73e85

Change-Id: Iffb0d964e0d1dd21c7721fdfa6b7a82aabd6f711
parents b4c21f07 1be73e85
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -666,6 +666,7 @@ void EvaluatePreparedModel(const sp<IDevice>& device, const sp<IPreparedModel>&
                ASSERT_EQ(syncFenceHandle.getNativeHandle(), nullptr);
                ASSERT_EQ(syncFenceHandle.getNativeHandle(), nullptr);
                ASSERT_EQ(fencedCallback, nullptr);
                ASSERT_EQ(fencedCallback, nullptr);
                executionStatus = result;
                executionStatus = result;
                timing = {UINT64_MAX, UINT64_MAX};
            } else if (syncFenceHandle.getNativeHandle()) {
            } else if (syncFenceHandle.getNativeHandle()) {
                // If a sync fence is returned, try start another run waiting for the sync fence.
                // If a sync fence is returned, try start another run waiting for the sync fence.
                ret = preparedModel->executeFenced(request, {syncFenceHandle},
                ret = preparedModel->executeFenced(request, {syncFenceHandle},