1
1
openmpi/ompi/mca/mtl/ofi/mtl_ofi_message.c
Yohann Burette 58a7a1e4ac Adding an Open Fabrics Interfaces (OFI) MTL.
This MTL implementation uses the OFIWG libfabric's tag messaging capabilities.
2014-12-16 15:43:39 -08:00

30 строки
484 B
C

/*
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved
*
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ompi_config.h"
#include "ompi/constants.h"
#include "mtl_ofi.h"
#include "mtl_ofi_message.h"
static void
ompi_mtl_ofi_message_construct(ompi_mtl_ofi_message_t *message)
{
message->buffer = message + 1;
}
OBJ_CLASS_INSTANCE(
ompi_mtl_ofi_message_t,
opal_free_list_item_t,
ompi_mtl_ofi_message_construct,
NULL
);