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
Various minor changes to support FLeCSI #3179
Merged
Merged
Conversation
This file contains 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
Member
hkaiser
commented
Feb 17, 2018
•
edited
edited
- adding more constructors to resource::partitioner (aligned with hpx::init)
- adding hpx::parallel::execution::pool_executor alias (for consistency)
- adding default constructor for pool-executor
- adding support to request minimal number of cores (threads) (hpx.force_min_os_threads)
- Making sure resume/suspend is not called for schedulers that don't support it
- adding more constructors to resource::partitioner (aligned with hpx::init) - adding hpx::parallel::execution::pool_executor alias (for consistency) - adding default constructor for pool-executor - adding support to request minimal number of cores (threads) (hpx.force_min_os_threads)
hkaiser
added a commit
to STEllAR-GROUP/flecsi
that referenced
this pull request
Feb 17, 2018
- add executors allowing to separate 'normal' tasks and all mpi operations mpi operations are always scheduled on a separate core, 'normal' tasks on the rest of the node - added reduce_min and reduce_max to context policy - enabled (and functional) tests: - flecsi/execution/test/launch.cc - flecsi/execution/test/simple_function.cc - flecsi/execution/test/simple_task.cc - flecsi/execution/test/reduction.cc - for now, disabled FLeCSI tutorial by default (for HPX) Note: this requires for STEllAR-GROUP/hpx#3179 and laristra/cinch#125 to be merged first
hkaiser
added a commit
to STEllAR-GROUP/flecsi
that referenced
this pull request
Feb 17, 2018
- add executors allowing to separate 'normal' tasks and all mpi operations mpi operations are always scheduled on a separate core, 'normal' tasks on the rest of the node - added reduce_min and reduce_max to context policy - enabled (and functional) tests: - flecsi/execution/test/launch.cc - flecsi/execution/test/simple_function.cc - flecsi/execution/test/simple_task.cc - flecsi/execution/test/reduction.cc - for now, disabled FLeCSI tutorial by default (for HPX) Note: this requires for STEllAR-GROUP/hpx#3179 and laristra/cinch#125 to be merged first
This was referenced Feb 17, 2018
@hkaiser Excellent catches regarding suspension. Sorry for missing this. This looks good to me, but for the long term I should make the checks more fine grained. Suspension on static schedulers is only disabled because of the problem of suspending a thread from the same pool, but suspending the whole pool from another pool should in fact work without problems. I'll try to work out something for that. |
msimberg
approved these changes
Feb 18, 2018
…pport it - this introduces a new scheduler mode flag: enable_suspension that is set by default for the schedulers that support this operation - this flag is also used to reject resume/suspend requests if this flag is not set for a given scheduler - flyby: made scheduler_base::suspend()/resume() virtual
hkaiser
force-pushed
the
support_flecsi
branch
from
February 18, 2018 12:50
d0282df
to
b81a510
Compare
hkaiser
added a commit
to STEllAR-GROUP/flecsi
that referenced
this pull request
Feb 24, 2018
- add executors allowing to separate 'normal' tasks and all mpi operations mpi operations are always scheduled on a separate core, 'normal' tasks on the rest of the node - added reduce_min and reduce_max to context policy - enabled (and functional) tests: - flecsi/execution/test/launch.cc - flecsi/execution/test/simple_function.cc - flecsi/execution/test/simple_task.cc - flecsi/execution/test/reduction.cc - for now, disabled FLeCSI tutorial by default (for HPX) Note: this requires for STEllAR-GROUP/hpx#3179 and laristra/cinch#125 to be merged first
hkaiser
added a commit
to STEllAR-GROUP/flecsi
that referenced
this pull request
Mar 4, 2018
- add executors allowing to separate 'normal' tasks and all mpi operations mpi operations are always scheduled on a separate core, 'normal' tasks on the rest of the node - added reduce_min and reduce_max to context policy - enabled (and functional) tests: - flecsi/execution/test/launch.cc - flecsi/execution/test/simple_function.cc - flecsi/execution/test/simple_task.cc - flecsi/execution/test/reduction.cc - for now, disabled FLeCSI tutorial by default (for HPX) Note: this requires for STEllAR-GROUP/hpx#3179 and laristra/cinch#125 to be merged first
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.