1
1
openmpi/src/mca/ptl/mx/ptl_mx_recvfrag.c

39 строки
943 B
C
Исходник Обычный вид История

/*
* $HEADER$
*/
#include "ompi_config.h"
#include "ptl_mx.h"
#include "ptl_mx_recvfrag.h"
static void mca_ptl_mx_recv_frag_construct(mca_ptl_mx_recv_frag_t* frag);
static void mca_ptl_mx_recv_frag_destruct(mca_ptl_mx_recv_frag_t* frag);
OBJ_CLASS_INSTANCE(
mca_ptl_mx_recv_frag_t,
mca_ptl_base_recv_frag_t,
mca_ptl_mx_recv_frag_construct,
mca_ptl_mx_recv_frag_destruct);
/*
* MX recv fragment constructor
*/
static void mca_ptl_mx_recv_frag_construct(mca_ptl_mx_recv_frag_t* frag)
{
/* one time initialization */
frag->frag_segments[0].segment_ptr = &frag->frag_recv.frag_base.frag_header;
frag->frag_segments[0].segment_length = sizeof(frag->frag_recv.frag_base.frag_header);
}
/*
* MX recv fragment destructor
*/
static void mca_ptl_mx_recv_frag_destruct(mca_ptl_mx_recv_frag_t* frag)
{
}