From af95a00974d351ffe21b431afb68512cf62fd7e3 Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Fri, 4 Dec 2020 16:10:13 -0500 Subject: [PATCH] #728: Adjust syntax to avoid confusing nvcc --- src/vt/collective/reduce/reduce.h | 8 ++++---- src/vt/objgroup/proxy/proxy_objgroup.h | 4 ++-- src/vt/vrt/collection/reducable/reducable.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/vt/collective/reduce/reduce.h b/src/vt/collective/reduce/reduce.h index c06f90bf27..0d2d331570 100644 --- a/src/vt/collective/reduce/reduce.h +++ b/src/vt/collective/reduce/reduce.h @@ -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 @@ -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 @@ -285,7 +285,7 @@ struct Reduce : virtual collective::tree::Tree { OpT, FunctorT, MsgT, - MsgT::template msgHandler + &MsgT::template msgHandler >(root, msg, id, num_contrib); } @@ -325,7 +325,7 @@ struct Reduce : virtual collective::tree::Tree { OpT, FunctorT, MsgT, - MsgT::template msgHandler + &MsgT::template msgHandler >(root, msg, id, num_contrib); } diff --git a/src/vt/objgroup/proxy/proxy_objgroup.h b/src/vt/objgroup/proxy/proxy_objgroup.h index d481d0a569..a191b0870c 100644 --- a/src/vt/objgroup/proxy/proxy_objgroup.h +++ b/src/vt/objgroup/proxy/proxy_objgroup.h @@ -168,7 +168,7 @@ struct Proxy { OpT, MsgPtrT, MsgT, - MsgT::template msgHandler< + &MsgT::template msgHandler< MsgT, OpT, collective::reduce::operators::ReduceCallback > >(msg, cb, stamp); @@ -204,7 +204,7 @@ struct Proxy { FunctorT, MsgPtrT, MsgT, - MsgT::template msgHandler + &MsgT::template msgHandler >(msg, stamp); } diff --git a/src/vt/vrt/collection/reducable/reducable.h b/src/vt/vrt/collection/reducable/reducable.h index e9c4c1ea4b..acaadc23e7 100644 --- a/src/vt/vrt/collection/reducable/reducable.h +++ b/src/vt/vrt/collection/reducable/reducable.h @@ -87,7 +87,7 @@ struct Reducable : BaseProxyT { return reduce< OpT, MsgT, - MsgT::template msgHandler< + &MsgT::template msgHandler< MsgT, OpT, collective::reduce::operators::ReduceCallback > >(msg, cb, stamp); @@ -111,7 +111,7 @@ struct Reducable : BaseProxyT { OpT, FunctorT, MsgT, - MsgT::template msgHandler + &MsgT::template msgHandler >(msg, stamp); }