-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[ARM CPU] ACL TBB scheduler #17445
[ARM CPU] ACL TBB scheduler #17445
Conversation
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp # Conflicts: # src/plugins/intel_cpu/src/config.cpp
…into an/tbb_scheduler_exp
…into an/tbb_scheduler_exp
This PR will be closed in a week because of 2 weeks of no activity. |
src/plugins/intel_cpu/src/nodes/executors/acl/acl_ie_scheduler.cpp
Outdated
Show resolved
Hide resolved
src/plugins/intel_cpu/src/nodes/executors/acl/acl_ie_scheduler.cpp
Outdated
Show resolved
Hide resolved
Should we keep scheduler in executors folder? |
|
||
unsigned int ACLScheduler::num_threads() const { return parallel_get_num_threads(); } | ||
|
||
void ACLScheduler::set_num_threads(unsigned int num_threads) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method has to be implemented in proper way. You can have num_threads
internal field initialized with parallel_get_num_threads();
as default value.
Then run_workloads
can be implemented using InferenceEngine::parallel_nt
which takes number of threads as parameter.
Anyway this need to aligned with streams support activity to provide proper behavior inside TBB arena. This might be not trivial given ACL has only global scheduler instance.
Lets follow-up later
I think current place is good enough until we will not have dedicated place with per-target global configuration logic |
@allnes Please rebase on latest master to get fresh CI. |
This reverts commit 510f578.
This reverts commit 510f578.
No description provided.