1
1
openmpi/oshmem/mca/spml/base/spml_base_putreq.c

37 строки
1.2 KiB
C
Исходник Обычный вид История

/*
* Copyright (c) 2013 Mellanox Technologies, Inc.
* All rights reserved.
* $COPYRIGHT$
2015-06-24 06:59:57 +03:00
*
* Additional copyrights may follow
2015-06-24 06:59:57 +03:00
*
* $HEADER$
*/
#include "oshmem_config.h"
#include <string.h>
#include "oshmem/mca/spml/spml.h"
#include "oshmem/mca/spml/base/spml_base_putreq.h"
static void mca_spml_base_put_request_construct(mca_spml_base_put_request_t* req);
static void mca_spml_base_put_request_destruct(mca_spml_base_put_request_t* req);
OBJ_CLASS_INSTANCE( mca_spml_base_put_request_t,
mca_spml_base_request_t,
mca_spml_base_put_request_construct,
mca_spml_base_put_request_destruct);
static void mca_spml_base_put_request_construct(mca_spml_base_put_request_t* request)
{
/* no need to reinit for every send -- never changes */
request->req_base.req_type = MCA_SPML_REQUEST_PUT;
}
static void mca_spml_base_put_request_destruct(mca_spml_base_put_request_t* req)
{
/* For each request the convertor get cleaned after each message
* (in the base _FINI macro). Therefore, as the convertor is a static object
* we don't have to call OBJ_DESTRUCT here.
*/
}