Merge "Fix VTS generated test with reusable execution."
This commit is contained in:
commit
c2f025e250
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
|
// If a sync fence is returned, try start another run waiting for the sync
|
||||||
// fence.
|
// fence.
|
||||||
if (testConfig.reusable) {
|
if (testConfig.reusable) {
|
||||||
ret = execution->executeFenced(waitFor, kNoDeadline, kNoDuration,
|
// Nothing to do because at most one execution may occur on a reusable
|
||||||
&executionResult);
|
// execution object at any given time.
|
||||||
} else if (testConfig.useConfig) {
|
} else if (testConfig.useConfig) {
|
||||||
ret = preparedModel->executeFencedWithConfig(
|
ret = preparedModel->executeFencedWithConfig(
|
||||||
request, waitFor,
|
request, waitFor,
|
||||||
|
|
Loading…
Reference in a new issue