[VPU][Tests] Fix sanitizer issue in unit tests (#630)
This commit is contained in:
parent
23f41213bb
commit
77162bf8ee
@ -243,6 +243,10 @@ bool checkExecutionOrder(const Model& model, const std::vector<int>& execOrder)
|
|||||||
auto it = execOrder.begin();
|
auto it = execOrder.begin();
|
||||||
|
|
||||||
for (const auto& stage : model->getStages()) {
|
for (const auto& stage : model->getStages()) {
|
||||||
|
if (it == execOrder.end()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (stage->id() == *it) {
|
if (stage->id() == *it) {
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user