nm_mcast_interface.h
Go to the documentation of this file.
100void nm_mcast_send(nm_mcast_service_t nm_mcast, nm_comm_t p_recv_comm, int*p_dests, int*p_prios, int n_dests,
110void nm_mcast_send_set_notifier(nm_mcast_t*p_mcast, nm_mcast_send_notifier_t notifier, void*p_ref);
117 int n_dests, nm_tag_t tag, struct nm_data_s*p_data, nm_len_t hlen, nm_coll_tree_kind_t tree_kind);
128void nm_mcast_set_default_tree_kind(nm_mcast_service_t nm_mcast, const nm_coll_tree_kind_t kind);
void nm_mcast_set_default_tree_kind(nm_mcast_service_t nm_mcast, const nm_coll_tree_kind_t kind)
Change the default tree used for routing data.
void nm_mcast_send(nm_mcast_service_t nm_mcast, nm_comm_t p_recv_comm, int *p_dests, int *p_prios, int n_dests, nm_tag_t tag, struct nm_data_s *p_data, nm_len_t hlen, nm_coll_tree_kind_t tree_kind)
Send data in a blocking mode.
void(* nm_mcast_send_notifier_t)(void *p_ref)
Public abstraction for the callback called when the mcast_send is completed.
Definition nm_mcast_interface.h:59
void nm_mcast_send_init(nm_mcast_service_t nm_mcast, nm_mcast_t *p_mcast)
Initialize a multicast send.
struct nm_mcast_service_s * nm_mcast_service_t
Public abstraction for a mcast service.
Definition nm_mcast_interface.h:56
void nm_mcast_send_destroy(nm_mcast_t *p_mcast)
Free data allocated by nm_mcast_send_init()
void nm_mcast_isend(nm_mcast_t *p_mcast, nm_comm_t p_comm, int *p_dests, int *p_prios, int n_dests, nm_tag_t tag, struct nm_data_s *p_data, nm_len_t hlen, nm_coll_tree_kind_t tree_kind)
Send data in a non-blocking mode.
void nm_mcast_send_set_notifier(nm_mcast_t *p_mcast, nm_mcast_send_notifier_t notifier, void *p_ref)
Attach a notifier to mcast_send, to be called when the root node of the multicast ends its sends.
nm_status_t nm_cond_status_t
status with synchronization (wait/signal)
Definition nm_core_interface.h:155
Definition nm_coll_inline.h:19
a data descriptor, used to pack/unpack data from app layout to/from contiguous buffers
Definition nm_data.h:196
nm_mcast_send_notifier_t p_notifier
notification function to call uppon mcast completion
Definition nm_mcast_interface.h:66