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
More executor changes #1544
Comments
This will be a tough one, not only do we want to confine tasks to run on
Another important aspect is to associate actions with executors. |
That's what I meant when I wrote 'integrate executors with distribution policies' |
Distribution policies would take care of this at the caller site indeed. A challenge will be heterogeneous systems. |
Sure, but this is not what the |
One could think of a component as an executor. They already have a |
You will have to elaborate (help). Even after thinking about it some more I was not able to make the concepts fit. |
@heller I realized that we have an example demonstrating how to bind the execution of all actions of a particular component to a specified executor: https://github.com/STEllAR-GROUP/hpx/blob/master/examples/quickstart/component_with_executor.cpp Would this be what you were looking for? |
@sithhell see above, pls |
It still seems very low level, but a start. What's missing is a way to
select executors on an action by action basis.
|
Moving this to 1.0.0. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed. Please re-open if necessary. |
After merging the first batch of changes related to executors (see #1510), there is a list of things to implement to finalize their design and integration with the rest of the code base:
dataflow
to be used with executors (Integrate executors with dataflow #1545).then()
to be used with executors (Adding support for executors to future.then #1547).on()
functionality from the existing 'shim' execution policies (inhibit chaining of.on()
calls) (Executor algorithms #1556).with()
functionality. We need to investigate if disable chaining.on()
only is possible (and sensible to do)..on()
(Removed const from algorithms #1567)hpx::partitioned_vector
andhpx::unordered_map
to enable seamless SPMD style of executionexecution_policy
from being instantiated by 'shim' execution policies (Working on 1544: More executor changes #1679).with()
to execution policies allowing attaching anexecutor_parameter_traits<Executor>
which customizes various scheduling parameters, like chunking (Executor parameters #1700)parallel_executor
andparallel_fork_executor
(Unifying parallel executors, initializing from launch policy #1721)The text was updated successfully, but these errors were encountered: