Skip to content

Commit

Permalink
#2281: Add template param for Rabenseifner to determine how to procee…
Browse files Browse the repository at this point in the history
…d with handler
  • Loading branch information
JacobDomagala committed Aug 25, 2024
1 parent 434a2b7 commit 05d8cb6
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 90 deletions.
6 changes: 5 additions & 1 deletion src/vt/collective/reduce/allreduce/rabenseifner.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@

namespace vt::collective::reduce::allreduce {

struct CollectionAllreduceT {};
struct GroupAllreduceT {};
struct ObjgroupAllreduceT {};

/**
* \struct Rabenseifner
* \brief Class implementing Rabenseifner's allreduce algorithm.
Expand All @@ -74,7 +78,7 @@ namespace vt::collective::reduce::allreduce {
* \tparam finalHandler Callback handler for the final result.
*/
template <
typename DataT, template <typename Arg> class Op, auto f
typename Type, typename DataT, template <typename Arg> class Op, auto f
>
struct Rabenseifner {
using Data = DataT;
Expand Down
Loading

0 comments on commit 05d8cb6

Please sign in to comment.