Merge "Fix VTS generated test with reusable execution." am: c2f025e250
am: c6d9dfa6df
am: 3917606102
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2490967 Change-Id: I963f463ea56fb8880a7cf073ecfc036e98cdf956 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
21dcba5fa9
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue