Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for coverity issues of medium and low impact #27916

Conversation

AsyaPronina
Copy link
Contributor

@AsyaPronina AsyaPronina commented Dec 4, 2024

Details:

  • Fixed "Data race condition" (Medium), "COPY_INSTEAD_OF_MOVE" and "Use of auto that causes a copy" (Low) issues
  • ...

Tickets:

@AsyaPronina AsyaPronina requested review from a team as code owners December 4, 2024 16:44
@github-actions github-actions bot added category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin labels Dec 4, 2024
@AsyaPronina AsyaPronina force-pushed the fix_npuw_medium_and_low_impact_coverity branch from b961530 to fdaf610 Compare December 4, 2024 17:00
@AsyaPronina AsyaPronina changed the title Fix for coverity issue of medium impact: Possible data race Fix for coverity issue of medium and low impact Dec 4, 2024
@AsyaPronina AsyaPronina changed the title Fix for coverity issue of medium and low impact Fix for coverity issues of medium and low impact Dec 4, 2024
@AsyaPronina AsyaPronina enabled auto-merge December 4, 2024 18:04
@AsyaPronina AsyaPronina added this pull request to the merge queue Dec 4, 2024
Comment on lines 137 to 138
auto npu_bank = m_device_banks.find("NPU");
if (npu_bank != m_device_banks.end() && npu_bank->second.storage.find(tensor) != npu_bank->second.storage.end()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

storage lock should've been taken here too.

@dmatveev dmatveev removed this pull request from the merge queue due to a manual request Dec 4, 2024
@dmatveev dmatveev added this pull request to the merge queue Dec 5, 2024
Merged via the queue into openvinotoolkit:master with commit 07ecdf0 Dec 5, 2024
157 checks passed
@dmatveev dmatveev deleted the fix_npuw_medium_and_low_impact_coverity branch December 5, 2024 01:43
github-merge-queue bot pushed a commit that referenced this pull request Dec 5, 2024
### Details:
 - *Fixed "Data race condition" (Medium) Coverity issue*
- *Mirrored part of
#27916

### Tickets:
 - *EISW-149544*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants