Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
pereanub committed Oct 4, 2024
1 parent 2b37b77 commit 5ed2b27
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/plugins/intel_npu/src/backend/src/zero_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,10 @@ Pipeline::Pipeline(const Config& config,
size_t ioIndex = 0;
for (const auto& desc : _executor->get_input_descriptors()) {
if (inputTensorsData.at(ioIndex).size() > 1) {
if (numberOfCommandLists > 1) {
_executor->setArgumentValue(desc.idx, inputTensorsData.at(ioIndex).at(i)->mem);
_executor->setArgumentValue(desc.idx, inputTensorsData.at(ioIndex).at(i)->mem);

++ioIndex;
continue;
}
++ioIndex;
continue;
}

_executor->setArgumentValue(desc.idx,
Expand Down

0 comments on commit 5ed2b27

Please sign in to comment.