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 authored and cz4rs committed Dec 16, 2020
1 parent 2232a25 commit 36cdd61
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 @@ -109,7 +109,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 @@ -151,7 +151,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 @@ -195,7 +195,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 @@ -235,7 +235,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 @@ -109,7 +109,7 @@ struct Proxy {
OpT,
MsgPtrT,
MsgT,
MsgT::template msgHandler<
&MsgT::template msgHandler<
MsgT, OpT, collective::reduce::operators::ReduceCallback<MsgT>
>
>(msg, cb, stamp);
Expand All @@ -136,7 +136,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 36cdd61

Please sign in to comment.