18 #ifndef OMPI_OSC_PT2PT_SENDREQ_H
19 #define OMPI_OSC_PT2PT_SENDREQ_H
21 #include "osc_pt2pt.h"
22 #include "osc_pt2pt_longreq.h"
25 #include "ompi/datatype/ompi_datatype.h"
26 #include "opal/datatype/opal_convertor.h"
27 #include "ompi/communicator/communicator.h"
29 #include "ompi/memchecker.h"
35 } ompi_osc_pt2pt_req_type_t;
76 ompi_osc_pt2pt_sendreq_alloc_init(ompi_osc_pt2pt_req_type_t
req_type,
77 void *origin_addr,
int origin_count,
80 OPAL_PTRDIFF_TYPE target_disp,
96 if (NULL == proc)
return OMPI_ERR_OUT_OF_RESOURCE;
100 if (OMPI_SUCCESS != ret)
return ret;
103 (*sendreq)->req_module = module;
104 (*sendreq)->req_target_rank = target_rank;
105 (*sendreq)->req_target_proc = proc;
122 if (req_type != OMPI_OSC_PT2PT_GET) {
148 OPAL_PTRDIFF_TYPE target_disp,
166 memchecker_convertor_call(&opal_memchecker_base_mem_defined,
ompi_osc_pt2pt_req_type_t req_type
type of sendreq (from ompi_osc_pt2pt_req_type_t)
Definition: osc_pt2pt_sendreq.h:42
Definition: ompi_datatype.h:68
int req_op_id
op index on the target
Definition: osc_pt2pt_sendreq.h:67
ompi_osc_pt2pt_module_t * req_module
pointer to the module that created the sendreq
Definition: osc_pt2pt_sendreq.h:44
Definition: osc_pt2pt.h:57
struct ompi_datatype_t * req_origin_datatype
Datatype for the origin side of the operation.
Definition: osc_pt2pt_sendreq.h:47
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Process identification structure interface.
Remote Open MPI process structure.
Definition: proc.h:56
size_t req_origin_bytes_packed
packed size of message on the origin side
Definition: osc_pt2pt_sendreq.h:52
#define OBJ_RETAIN(object)
Retain an object (by incrementing its reference count)
Definition: opal_object.h:278
opal_convertor_t req_origin_convertor
Convertor for the origin side of the operation.
Definition: osc_pt2pt_sendreq.h:50
OPAL_PTRDIFF_TYPE req_target_disp
displacement on target
Definition: osc_pt2pt_sendreq.h:60
Definition: opal_list.h:98
ompi_proc_t * req_target_proc
pointer to the proc structure for the target of the operation
Definition: osc_pt2pt_sendreq.h:57
#define OBJ_RELEASE(object)
Release an object (by decrementing its reference count).
Definition: opal_object.h:324
Definition: opal_free_list.h:47
Definition: osc_pt2pt_sendreq.h:38
opal_datatype_t super
Base opal_datatype_t superclass.
Definition: ompi_datatype.h:69
opal_free_list_t p2p_c_sendreqs
free list of ompi_osc_pt2pt_sendreq_t structures
Definition: osc_pt2pt.h:46
int req_target_count
datatype count on target
Definition: osc_pt2pt_sendreq.h:62
ompi_communicator_t * p2p_comm
communicator created with this window
Definition: osc_pt2pt.h:74
Definition: opal_convertor.h:90
struct opal_convertor_t * proc_convertor
Base convertor for the proc described by this process.
Definition: proc.h:70
int req_target_rank
rank in module's communicator for target of operation
Definition: osc_pt2pt_sendreq.h:55
struct ompi_datatype_t * req_target_datatype
datatype on target
Definition: osc_pt2pt_sendreq.h:64
Main top-level request struct definition.
Definition: request.h:100
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236