nm_coll_private.h
Go to the documentation of this file.
55 };
void(* nm_coll_req_notifier_t)(void *ref)
notification function for collective reqs
Definition nm_coll.h:131
static void nm_datav_add_chunk_excerpt(struct nm_datav_s *p_datav, struct nm_data_s *p_data, nm_len_t chunk_offset, nm_len_t chunk_len)
add an excerpt of data to datav; given p_data content is not copied.
Definition nm_data.h:857
nm_status_t nm_cond_status_t
status with synchronization (wait/signal)
Definition nm_core_interface.h:155
static void nm_coll_datav_descendants(const struct nm_coll_tree_info_s *p_tree, struct nm_datav_s *p_datav, struct nm_data_s *p_data, nm_len_t data_size, int *p_descendants, int child, int child_weight)
add chunks of data described by descendants to datav, with aggregation of adjacent chunks
Definition nm_coll_private.h:96
static void * nm_coll_req_payload(struct nm_coll_req_s *p_coll_req)
Definition nm_coll_private.h:78
static struct nm_coll_req_s * nm_coll_req_container(void *p_payload)
Definition nm_coll_private.h:83
struct nm_coll_req_s * nm_coll_req_alloc(nm_len_t payload_size, nm_coll_req_kind_t kind, nm_coll_req_destructor_t p_destructor, nm_coll_req_notifier_t p_notify, void *p_ref)
void(* nm_coll_req_destructor_t)(struct nm_coll_req_s *)
Definition nm_coll_private.h:59
void nm_coll_req_signal(struct nm_coll_req_s *p_coll_req)
used internally to signal the completion of a coll req
assert(p_data->ops.p_traversal !=NULL)
main header for private nmad definitions.
This is the common public header for NewMad.
unsigned long long total_nodes
total number of nodes involved for all ocurrences of this op
Definition nm_coll_private.h:147
unsigned long long total_bytes
total number of bytes sent through this op
Definition nm_coll_private.h:146
Definition nm_coll_private.h:62
int _payload
dummy placeholder; payload is actually allocated after this struct
Definition nm_coll_private.h:71
nm_coll_req_notifier_t p_notify
notification function for op termination
Definition nm_coll_private.h:66
nm_cond_status_t status
status for explicit wait- not signaled if p_notify is non-NULL
Definition nm_coll_private.h:65
a data descriptor, used to pack/unpack data from app layout to/from contiguous buffers
Definition nm_data.h:199