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 coverity scan issue CID 1537543 #28213

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wangleis
Copy link
Contributor

Details:

  • fix coverity scan issue CID 1537543

    config.streamExecutorConfig = IStreamsExecutor::Config{"CPUStreamsExecutor",
    706 config.streams,
    707 config.threadsPerStream,
    708 ov::hint::SchedulingCoreType::ANY_CORE,
    709 false,
    710 cpu_pinning,

CID 1537543: (#1 of 1): COPY_INSTEAD_OF_MOVE (COPY_INSTEAD_OF_MOVE)

  1. copy_constructor_call: streams_info_table is passed-by-value as parameter to ov::threading::IStreamsExecutor::Config::Config(std::string, int, int, ov::hint::SchedulingCoreType, bool, bool, std::vector<std::vector<int, std::allocator >, std::allocator<std::vector<int, std::allocator > > >, std::vector<int, std::allocator >) when it could be moved instead.
    Use std::move(streams_info_table) instead of streams_info_table.
    711 streams_info_table};
    712

Tickets:

  • ticket-id

@wangleis wangleis requested review from a team as code owners December 26, 2024 12:34
@wangleis wangleis requested review from sunxiaoxia2022 and dmitry-gorokhov and removed request for a team December 26, 2024 12:34
@github-actions github-actions bot added the category: CPU OpenVINO CPU plugin label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants