Branch: refs/heads/limiting-executor
Home: https://github.com/STEllAR-GROUP/hpx
Commit: 624bd2e251c8e5fe2e3e3f376edaa03cfea31b8d
https://github.com/STEllAR-GROUP/hpx/commit/624bd2e251c8e5fe2e3e3f376edaa03cfea31b8d
Author: John Biddiscombe <[email protected]>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M libs/execution/tests/unit/CMakeLists.txt
A libs/execution/tests/unit/limiting_executor.cpp
M libs/executors/include/hpx/executors/limiting_executor.hpp
Log Message:
-----------
Use RAII counter for limiting executor and improve forwarding
WIP: Add a unit test for limiting executor (unfinished)
Commit: d1ad7e0e30763c7b49c6065d505ed2000c069696
https://github.com/STEllAR-GROUP/hpx/commit/d1ad7e0e30763c7b49c6065d505ed2000c069696
Author: John Biddiscombe <[email protected]>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M libs/async_mpi/include/hpx/async_mpi/mpi_executor.hpp
M libs/async_mpi/include/hpx/async_mpi/mpi_future.hpp
M libs/async_mpi/src/mpi_future.cpp
M libs/async_mpi/tests/unit/mpi_ring_async_executor.cpp
M libs/executors/include/hpx/executors/limiting_executor.hpp
Log Message:
-----------
Allow limiting executor to use external counting mechanism
The limiting executor does not work with some special executors
like the MPI one since it returns immediately but leave a task
that is 'detached' from the runtime (the counters count up and down
almost immediately, but the task completes later).
To solve this we add a specialization inside the limiting executor
counting mechanism that allows the executor being wrapped to return
a counter that can be used to throttle tasks.
Any executor that implements the "in_flight_estimate" member can
override the counting mechanism to control throttling.
Currently we only handle a single counter so multiple mpi executors
would reference the same internal mpi counter and it would not be
possible to throttle different mpi executors spearately.
Simplify the mpi_ring_async_test to use a limiting executor at
the top level and thereby reduce resource consumption by only
keeping N mpi requests in flight at once.
Note that the limiting executor is only used for the outer iteration
of sending, otherwise a deadlock would occur if a receive could
not trigger a send.
Commit: 63e070652833bff25f05ce9e2bdc596478f229f5
https://github.com/STEllAR-GROUP/hpx/commit/63e070652833bff25f05ce9e2bdc596478f229f5
Author: John Biddiscombe <[email protected]>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M libs/execution/tests/unit/limiting_executor.cpp
Log Message:
-----------
Fix Inspect and format-violations
Commit: b619865f4971a83c8aa2477030626c4e467a71b2
https://github.com/STEllAR-GROUP/hpx/commit/b619865f4971a83c8aa2477030626c4e467a71b2
Author: John Biddiscombe <[email protected]>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M libs/executors/include/hpx/executors/limiting_executor.hpp
Log Message:
-----------
Fix incomplete type compile error by adding a dummy template param
Commit: f47681ea8d83683816b36f6d8d8132325d10896b
https://github.com/STEllAR-GROUP/hpx/commit/f47681ea8d83683816b36f6d8d8132325d10896b
Author: John Biddiscombe <[email protected]>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M libs/execution/tests/unit/limiting_executor.cpp
Log Message:
-----------
Add new limiting executor test that checks number of in flight tasks
Compare:
https://github.com/STEllAR-GROUP/hpx/compare/624bd2e251c8%5E...f47681ea8d83
_______________________________________________
hpx-commits mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-commits