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

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

Fix the timing initialization error for failed executeFenced case am: 702a91ac am: 0d95f3ee

Change-Id: Idcc7bb2e06437fbefc1abdf2566632ee9ea37e39
parents fdf6d213 0d95f3ee
Loading
Loading
Loading
Loading
+1 −0
Original line number 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(fencedCallback, nullptr);
                executionStatus = result;
                timing = {UINT64_MAX, UINT64_MAX};
            } else if (syncFenceHandle.getNativeHandle()) {
                // If a sync fence is returned, try start another run waiting for the sync fence.
                ret = preparedModel->executeFenced(request, {syncFenceHandle},