* make mtl datatype wrapper code inline functions
This commit was SVN r10678.
Этот коммит содержится в:
родитель
2217fd4003
Коммит
ef6b7e170f
@ -18,7 +18,7 @@
|
||||
|
||||
headers += \
|
||||
base/base.h
|
||||
base/mtl_base_datatype.h
|
||||
|
||||
libmca_mtl_la_SOURCES += \
|
||||
base/mtl_base_datatype.c \
|
||||
base/mtl_base_component.c
|
||||
|
@ -39,20 +39,6 @@ OMPI_DECLSPEC int ompi_mtl_base_select(bool enable_progress_threads,
|
||||
OMPI_DECLSPEC int ompi_mtl_base_close(void);
|
||||
|
||||
|
||||
OMPI_DECLSPEC int ompi_mtl_datatype_pack(struct ompi_convertor_t *convertor,
|
||||
void **buffer,
|
||||
size_t *buffer_len,
|
||||
bool *free_after_use);
|
||||
|
||||
OMPI_DECLSPEC int ompi_mtl_datatype_recv_buf(struct ompi_convertor_t *convertor,
|
||||
void ** buffer,
|
||||
size_t *buffer_len,
|
||||
bool *free_on_error);
|
||||
|
||||
OMPI_DECLSPEC int ompi_mtl_datatype_unpack(struct ompi_convertor_t *convertor,
|
||||
void *buffer,
|
||||
size_t buffer_len);
|
||||
|
||||
OMPI_DECLSPEC extern opal_list_t ompi_mtl_base_components_opened;
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "ompi/constants.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
|
||||
int
|
||||
static inline int
|
||||
ompi_mtl_datatype_pack(struct ompi_convertor_t *convertor,
|
||||
void **buffer,
|
||||
size_t *buffer_len,
|
||||
@ -57,7 +57,7 @@ ompi_mtl_datatype_pack(struct ompi_convertor_t *convertor,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
static inline int
|
||||
ompi_mtl_datatype_recv_buf(struct ompi_convertor_t *convertor,
|
||||
void ** buffer,
|
||||
size_t *buffer_len,
|
||||
@ -83,7 +83,7 @@ ompi_mtl_datatype_recv_buf(struct ompi_convertor_t *convertor,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
static inline int
|
||||
ompi_mtl_datatype_unpack(struct ompi_convertor_t *convertor,
|
||||
void *buffer,
|
||||
size_t buffer_len)
|
@ -23,6 +23,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "opal/class/opal_list.h"
|
||||
#include "ompi/mca/pml/base/pml_base_module_exchange.h"
|
||||
#include "ompi/mca/mtl/base/mtl_base_datatype.h"
|
||||
#include "mtl_mx_endpoint.h"
|
||||
#include "mtl_mx_request.h"
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "ompi/datatype/datatype.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
#include "ompi/mca/mtl/base/mtl_base_datatype.h"
|
||||
|
||||
#include "mtl_mx.h"
|
||||
#include "mtl_mx_request.h"
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "ompi/datatype/datatype.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
#include "ompi/mca/mtl/base/mtl_base_datatype.h"
|
||||
|
||||
#include "mtl_mx.h"
|
||||
#include "mtl_mx_request.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
#include "ompi/mca/mtl/base/base.h"
|
||||
#include "ompi/mca/mtl/base/mtl_base_datatype.h"
|
||||
|
||||
#include "mtl_portals.h"
|
||||
#include "mtl_portals_endpoint.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "ompi/communicator/communicator.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
#include "ompi/mca/mtl/base/base.h"
|
||||
#include "ompi/mca/mtl/base/mtl_base_datatype.h"
|
||||
|
||||
#include "mtl_portals.h"
|
||||
#include "mtl_portals_request.h"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user