Skip to content

Commit

Permalink
#728: Adjust syntax to avoid confusing nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Dec 4, 2020
1 parent e29a1a4 commit af95a00
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/vt/collective/reduce/reduce.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ struct Reduce : virtual collective::tree::Tree {
return reduce<
OpT,
MsgT,
MsgT::template msgHandler<
&MsgT::template msgHandler<
MsgT,
OpT,
collective::reduce::operators::ReduceCallback<MsgT>
Expand Down Expand Up @@ -241,7 +241,7 @@ struct Reduce : virtual collective::tree::Tree {
return reduceImmediate<
OpT,
MsgT,
MsgT::template msgHandler<
&MsgT::template msgHandler<
MsgT,
OpT,
collective::reduce::operators::ReduceCallback<MsgT>
Expand Down Expand Up @@ -285,7 +285,7 @@ struct Reduce : virtual collective::tree::Tree {
OpT,
FunctorT,
MsgT,
MsgT::template msgHandler<MsgT, OpT, FunctorT>
&MsgT::template msgHandler<MsgT, OpT, FunctorT>
>(root, msg, id, num_contrib);
}

Expand Down Expand Up @@ -325,7 +325,7 @@ struct Reduce : virtual collective::tree::Tree {
OpT,
FunctorT,
MsgT,
MsgT::template msgHandler<MsgT, OpT, FunctorT>
&MsgT::template msgHandler<MsgT, OpT, FunctorT>
>(root, msg, id, num_contrib);
}

Expand Down
4 changes: 2 additions & 2 deletions src/vt/objgroup/proxy/proxy_objgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ struct Proxy {
OpT,
MsgPtrT,
MsgT,
MsgT::template msgHandler<
&MsgT::template msgHandler<
MsgT, OpT, collective::reduce::operators::ReduceCallback<MsgT>
>
>(msg, cb, stamp);
Expand Down Expand Up @@ -204,7 +204,7 @@ struct Proxy {
FunctorT,
MsgPtrT,
MsgT,
MsgT::template msgHandler<MsgT, OpT, FunctorT>
&MsgT::template msgHandler<MsgT, OpT, FunctorT>
>(msg, stamp);
}

Expand Down
4 changes: 2 additions & 2 deletions src/vt/vrt/collection/reducable/reducable.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct Reducable : BaseProxyT {
return reduce<
OpT,
MsgT,
MsgT::template msgHandler<
&MsgT::template msgHandler<
MsgT, OpT, collective::reduce::operators::ReduceCallback<MsgT>
>
>(msg, cb, stamp);
Expand All @@ -111,7 +111,7 @@ struct Reducable : BaseProxyT {
OpT,
FunctorT,
MsgT,
MsgT::template msgHandler<MsgT, OpT, FunctorT>
&MsgT::template msgHandler<MsgT, OpT, FunctorT>
>(msg, stamp);
}

Expand Down

0 comments on commit af95a00

Please sign in to comment.