Skip to content

Commit 5105335

Browse files
committed
#276: active: add interface with only handler required
1 parent bc93af8 commit 5105335

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/vt/messaging/active.h

+9
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,15 @@ struct ActiveMessenger : runtime::component::PollableComponent<ActiveMessenger>
704704
TagType tag = no_tag
705705
);
706706

707+
template <auto f, typename MsgT>
708+
PendingSendType sendMsg(
709+
NodeType dest,
710+
MsgPtrThief<MsgT> msg,
711+
TagType tag = no_tag
712+
) {
713+
return sendMsg<MsgT, f>(dest, msg, tag);
714+
}
715+
707716
/**
708717
* \brief Send a message with explicit size.
709718
*

0 commit comments

Comments
 (0)