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

[C++ pyclustering] Optimize parallel_for in case of short cycles #642

Closed
annoviko opened this issue Oct 23, 2020 · 0 comments
Closed

[C++ pyclustering] Optimize parallel_for in case of short cycles #642

annoviko opened this issue Oct 23, 2020 · 0 comments
Assignees
Labels
Optimization Tasks related to code optimization

Comments

@annoviko
Copy link
Owner

annoviko commented Oct 23, 2020

Introduction
Current implementation is slower than PPL implementation in case of tiny arrays (see hsyncnet tests for more details). There is illustration:

for_loop_over_some_data {
    parallel_for(small_array) {
         some_work();
    }
}

Acceptance Criteria

  • Optimization is required in order to have the same performance or higher.
  • Apply the implementation for Windows implementation instead of PPL if it increase performance more.
@annoviko annoviko added the Optimization Tasks related to code optimization label Oct 23, 2020
@annoviko annoviko self-assigned this Oct 23, 2020
annoviko added a commit that referenced this issue Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Optimization Tasks related to code optimization
Projects
None yet
Development

No branches or pull requests

1 participant