-
Notifications
You must be signed in to change notification settings - Fork 57
ENH limit threads for C-Libraries dynamically #135
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
Closed
Closed
Changes from 48 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
2b44eb3
ENH utils limit n_thread OMP, MKL, OpenBLAS
tomMoral 2409130
TST limit_thread_clibs
tomMoral 688ca8f
ENH include openMP{GNU/MKL} in clib+test openMP
tomMoral fe6c369
CLN rename _openmp to _openmp_test_helper
tomMoral 632726e
CLN harmonize clib names
tomMoral 4df2cf0
ENH libraries not found raise NIE on scaling
tomMoral 7348a23
ENH add loaded dyld detection in osx
tomMoral 24486f9
CLN factorize finding libc + FIX module_name lib
tomMoral 18889df
ENH fix loading of OpenMP for OSX
tomMoral 2e9e673
ENH add module looper for windows
tomMoral 6037ed0
CI travis with openblas-test-noskip
tomMoral 21d1774
TST all plateform should support openmp
tomMoral 7d4d39c
ENH improve adding library support
tomMoral 472280e
TST add all supported clibs in test
tomMoral 4d6ee8a
CLN improve comments and naming+refactor
tomMoral f34c3c4
CI add conda entry in appveyor
tomMoral 8d7d31d
TST use ReusableExecutorMixin to harmonize tests
tomMoral a022dad
FIX border effect from test_default_subcontext
tomMoral ca7dbca
ENH remove ref to clib
tomMoral cd4af00
ENH improve thread_pool_limits
tomMoral 8eb0d87
Merge master into PR_limit_threads_omp
tomMoral c659932
Merge branch 'master' into PR_limit_threads_omp
tomMoral e021463
CLN bad merge conflicts
tomMoral 22d0d6f
FIX CIs failures
tomMoral 4873ed2
TST debug mode
tomMoral 39841f6
CI fix failure py2.7 and win32
tomMoral 191651a
CI pin conda version of python on win32
tomMoral fd7425d
CI debug numpy and mkl win32
tomMoral a16fb9b
CI try to fix the DLL hell mess :(
tomMoral 33eccf8
CI test numpy install from conda
tomMoral 10d1a24
CI still failing
tomMoral d8daf32
CI fix pypy35 run on travis
tomMoral 97fb35f
CI test activated conda env win32
tomMoral 8839af8
CI fixing conda install
tomMoral da9c802
CI fix conda activation
tomMoral 26c992a
CI update conda
tomMoral 2af9a57
CI init powershell in conda
tomMoral f23fa58
CLN appveyor calls
tomMoral 8feec12
CLN fix language level to 3 for cython testing
tomMoral 4eb2d65
CLN move thread-pool limiters in separate file
tomMoral 2f46df2
FIX thread-pool limit for multiple version of openblas
tomMoral 6e5abca
FIX bad name module_paths
tomMoral d83f701
CLN refactor API
tomMoral 9fb9f03
FIX dynamic library loop on osx and win32
tomMoral a6a1c73
FIX get correct version for openblas
tomMoral 55d872a
CLN improve coverage and simplify
tomMoral 7f62bbe
CLN refactor test to show when more than 2 libopenblas are found
tomMoral 07ad480
CI fix appveyor tox usage
tomMoral ff20241
CLN ci/appveyor blank lines
tomMoral 3483cf3
CLN rename {openblas/mkl}-test-noskip -> -present
tomMoral 59f84e3
CLN rewrite the API
tomMoral d8ee56e
CLN spawn from useless changed
tomMoral 893a4d4
CLN refactor user/intern-api
tomMoral ca162a5
ENH merge the openMP implementations
tomMoral ad6ce6e
FIX test mkl win32
tomMoral 5845326
CLN some improvments in the coments and re-organisation
tomMoral c472b23
FIX skip test on extra mkl implementation
tomMoral 2ef93dc
CLN some typo and renaming
tomMoral 1512841
CLN refactor X - no wrapper
tomMoral 5e07e40
FIx win32 CDLL loads
tomMoral 7242b6e
FIX bad inputs test for python2.7
tomMoral File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,3 @@ __pycache__ | |
| /dist | ||
| /htmlcov | ||
|
|
||
| # Generated by Cython test | ||
| tests/_openmp/build/ | ||
| tests/_openmp/parallel_sum.c | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
|
|
||
| cd tests/_openmp | ||
| cd tests/_openmp_test_helper | ||
| COVERAGE_PROCESS_START='' | ||
| python setup.py build_ext -i || echo 'No openmp' | ||
| cd ../.. | ||
| cd ../.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.