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

Use hardware_concurrency() option for thread pool default number of threads #651

Open
ihhub opened this issue Feb 11, 2020 · 0 comments
Open
Assignees
Labels
core Core image processing code Multithreading CPU multithreading code
Milestone

Comments

@ihhub
Copy link
Owner

ihhub commented Feb 11, 2020

We can use thread::hardware_concurrency() call to determine the number of available concurrent threads. It's a good choice for developers who don't want to tune the library.

@ihhub ihhub added Multithreading CPU multithreading code core Core image processing code labels Feb 11, 2020
@ihhub ihhub self-assigned this Feb 11, 2020
@ihhub ihhub added this to the Release milestone Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core image processing code Multithreading CPU multithreading code
Projects
None yet
Development

No branches or pull requests

1 participant