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] utils/concurrent: Switch default thread pool #3138

Merged
merged 1 commit into from
Jul 30, 2018

Conversation

ales-erjavec
Copy link
Contributor

Issue

Fixes gh-3079, gh-3050

Description of changes

The default stack size of QThreadPool created threads is insufficient
to call OpenBLAS in common builds (see numpy issue 11551).

Includes
  • Code changes
  • Tests
  • Documentation

The default stack size of QThreadPool created threads on BSD or BSD
derived systems is insufficient to call OpenBLAS in common builds
(see numpy issue 11551).
@thocevar thocevar self-assigned this Jul 27, 2018
@thocevar
Copy link
Contributor

ThreadExecutor doesn't seem to fully utilize the CPU. Execution time is the same with 1 or 4 max_workers on a 4-core CPU (Windows 10). Are the threads assigned to the same core?

@ales-erjavec
Copy link
Contributor Author

Where? What task?

@thocevar thocevar removed their assignment Jul 30, 2018
@thocevar thocevar merged commit 213c3c8 into biolab:master Jul 30, 2018
@ales-erjavec ales-erjavec deleted the fixes/concurrent-stack-size branch September 12, 2018 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants