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

combine test for stream_info_table #17930

Conversation

xufang-lisa
Copy link
Contributor

Details:

  • combine test for stream_info_table

Tickets:

  • 112257

@xufang-lisa xufang-lisa requested review from a team as code owners June 7, 2023 12:24
@github-actions github-actions bot added the category: CPU OpenVINO CPU plugin label Jun 7, 2023
void generate_stream_info(const int streams,
const std::shared_ptr<ngraph::Function>& ngraphFunc,
Config& config,
int model_perfer_init) {
Copy link
Contributor

Choose a reason for hiding this comment

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

suggest model_perfer_init change to model_prefer_init. I think this parameter can be set to default value "-1", it will not initialize the variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, updated.

std::vector<int> stream_ids;
std::string log = "[ streams info ]";
std::vector<std::string> core_type_str = {" Any core: ", " PCore: ", " ECore: ", " Logical core: "};
int model_perfer = -1;
Copy link
Contributor

Choose a reason for hiding this comment

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

can remove this variable initialization.

ov::hint::PerformanceMode input_pm_hint;
ov::threading::IStreamsExecutor::ThreadBindingType input_binding_type;
std::vector<std::vector<int>> input_proc_type_table;
bool output_ht_value;
Copy link
Contributor

Choose a reason for hiding this comment

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

please add output check for core type and performance hint

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated.

@wangleis wangleis merged commit 661f66b into openvinotoolkit:master Jun 13, 2023
alvoron pushed a commit to alvoron/openvino that referenced this pull request Jun 21, 2023
* combine test for stream_info_table

* fix failed test cases

* add check for performance hint and core type

* add comments for the parameters of test case
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.

4 participants