-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
BUG: fixed test that made bad assumptions of GetGlobalDefaultNumberOf… #5191
BUG: fixed test that made bad assumptions of GetGlobalDefaultNumberOf… #5191
Conversation
@dzenanz how would I solve the case with the |
74576b6
to
0bb2672
Compare
0bb2672
to
a603670
Compare
Thanks @seanm !
|
There's one more failing test that I hope to figure out and add here... |
OK, I don't get it... need help :) It's this code:
The test fails with The call to |
Nothing jumps at me. I guess some digging is needed into |
GetGlobalDefaultNumberOfThreads() and GetNumberOfWorkUnits() in fact can return less that you ask it to, because it's also clamped to the compile-time choice of ITK_DEFAULT_MAX_THREADS.
a603670
to
d200623
Compare
I took a wild guess: there was another |
If this looks good to y'all, would be nice to merge, as it will green up cdash a bit. |
Seems this broke the build, depending on build options: https://open.cdash.org/viewBuildError.php?buildid=10179364 fix: #5200 |
…Threads()