2005-06-30 18:21:55 +00:00
|
|
|
/*
|
2007-03-16 23:11:45 +00:00
|
|
|
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
|
2005-11-05 19:57:48 +00:00
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2009-04-10 16:44:37 +00:00
|
|
|
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
2005-11-05 19:57:48 +00:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-06-30 18:21:55 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2007-01-30 15:39:49 +00:00
|
|
|
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
2005-06-30 18:21:55 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*/
|
|
|
|
#ifndef MCA_BTL_GM_H
|
|
|
|
#define MCA_BTL_GM_H
|
|
|
|
|
2009-03-04 15:35:54 +00:00
|
|
|
#include "ompi_config.h"
|
2005-06-30 18:21:55 +00:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <gm.h>
|
|
|
|
|
|
|
|
/* Open MPI includes */
|
2005-07-03 23:09:55 +00:00
|
|
|
#include "opal/event/event.h"
|
2009-03-03 22:25:13 +00:00
|
|
|
#include "ompi/class/ompi_free_list.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "ompi/mca/btl/btl.h"
|
|
|
|
#include "ompi/mca/btl/base/base.h"
|
|
|
|
#include "ompi/mca/mpool/mpool.h"
|
|
|
|
#include "ompi/mca/btl/btl.h"
|
2005-06-30 18:21:55 +00:00
|
|
|
#include "btl_gm_endpoint.h"
|
|
|
|
|
2009-08-20 11:42:18 +00:00
|
|
|
BEGIN_C_DECLS
|
2005-06-30 18:21:55 +00:00
|
|
|
|
2005-07-07 16:56:58 +00:00
|
|
|
#define GM_BUFFER_SIZE 7
|
|
|
|
#define GM_BUFFER_LENGTH gm_max_length_for_size(GM_BUFFER_SIZE)
|
|
|
|
|
2005-06-30 18:21:55 +00:00
|
|
|
/**
|
2005-07-07 16:56:58 +00:00
|
|
|
* Myrinet (GM) BTL component.
|
2005-06-30 18:21:55 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
struct mca_btl_gm_component_t {
|
2008-07-28 22:40:57 +00:00
|
|
|
mca_btl_base_component_2_0_0_t super; /**< base BTL component */
|
2005-06-30 18:21:55 +00:00
|
|
|
|
2005-07-15 20:56:29 +00:00
|
|
|
size_t gm_num_btls; /**< number of hcas available to the GM component */
|
|
|
|
size_t gm_max_btls; /**< maximum number of supported hcas */
|
|
|
|
struct mca_btl_gm_module_t **gm_btls; /**< array of available BTL modules */
|
|
|
|
size_t gm_max_ports; /**< maximum number of ports per board */
|
|
|
|
size_t gm_max_boards; /**< maximum number of boards */
|
|
|
|
size_t gm_eager_frag_size;
|
|
|
|
size_t gm_max_frag_size;
|
|
|
|
char* gm_port_name;
|
|
|
|
int32_t gm_num_repost;
|
|
|
|
int32_t gm_num_high_priority; /**< number of receive descriptors at high priority */
|
|
|
|
int gm_debug; /**< turn on debug output */
|
2005-06-30 18:21:55 +00:00
|
|
|
|
2005-06-30 21:42:05 +00:00
|
|
|
int gm_free_list_num; /**< initial size of free lists */
|
|
|
|
int gm_free_list_max; /**< maximum size of free lists */
|
|
|
|
int gm_free_list_inc; /**< number of elements to alloc when growing free lists */
|
2005-07-03 16:22:16 +00:00
|
|
|
opal_list_t gm_procs; /**< list of gm proc structures */
|
2005-07-03 22:45:48 +00:00
|
|
|
opal_mutex_t gm_lock; /**< lock for accessing module state */
|
2005-06-30 21:42:05 +00:00
|
|
|
char* gm_mpool_name; /**< name of memory pool */
|
2005-06-30 18:21:55 +00:00
|
|
|
};
|
|
|
|
typedef struct mca_btl_gm_component_t mca_btl_gm_component_t;
|
|
|
|
|
2006-09-14 22:19:39 +00:00
|
|
|
OMPI_MODULE_DECLSPEC extern mca_btl_gm_component_t mca_btl_gm_component;
|
2005-06-30 18:21:55 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* BTL Module Interface
|
|
|
|
*/
|
|
|
|
struct mca_btl_gm_module_t {
|
|
|
|
mca_btl_base_module_t super; /**< base BTL interface */
|
|
|
|
|
|
|
|
/* local port handle/address */
|
2005-07-07 16:56:58 +00:00
|
|
|
struct gm_port *port;
|
2005-06-30 18:21:55 +00:00
|
|
|
mca_btl_gm_addr_t gm_addr;
|
|
|
|
|
|
|
|
/* free list of fragment descriptors */
|
|
|
|
ompi_free_list_t gm_frag_eager;
|
|
|
|
ompi_free_list_t gm_frag_max;
|
|
|
|
ompi_free_list_t gm_frag_user;
|
|
|
|
|
|
|
|
/* number of send/recv tokens */
|
2005-07-15 20:56:29 +00:00
|
|
|
int32_t gm_num_send_tokens;
|
|
|
|
int32_t gm_max_send_tokens;
|
|
|
|
int32_t gm_num_recv_tokens;
|
|
|
|
int32_t gm_max_recv_tokens;
|
|
|
|
int32_t gm_num_repost;
|
2005-06-30 18:21:55 +00:00
|
|
|
|
|
|
|
/* lock for accessing module state */
|
2005-07-03 16:22:16 +00:00
|
|
|
opal_list_t gm_pending; /**< list of pending send descriptors */
|
2005-07-13 21:39:41 +00:00
|
|
|
opal_list_t gm_repost; /**< list of pending fragments */
|
2006-03-02 00:39:07 +00:00
|
|
|
|
2009-05-06 20:11:28 +00:00
|
|
|
#if OPAL_ENABLE_PROGRESS_THREADS
|
2006-03-02 00:39:07 +00:00
|
|
|
opal_thread_t gm_thread;
|
2006-03-16 00:05:39 +00:00
|
|
|
bool gm_progress;
|
2006-03-02 00:39:07 +00:00
|
|
|
#endif
|
2006-08-16 20:21:38 +00:00
|
|
|
mca_btl_base_module_error_cb_fn_t error_cb;
|
2005-06-30 18:21:55 +00:00
|
|
|
};
|
|
|
|
typedef struct mca_btl_gm_module_t mca_btl_gm_module_t;
|
|
|
|
extern mca_btl_gm_module_t mca_btl_gm_module;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register GM component parameters with the MCA framework
|
|
|
|
*/
|
|
|
|
extern int mca_btl_gm_component_open(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Any final cleanup before being unloaded.
|
|
|
|
*/
|
|
|
|
extern int mca_btl_gm_component_close(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GM component initialization.
|
|
|
|
*
|
|
|
|
* @param num_btl_modules (OUT) Number of BTLs returned in BTL array.
|
|
|
|
* @param allow_multi_user_threads (OUT) Flag indicating wether BTL supports user threads (TRUE)
|
|
|
|
* @param have_hidden_threads (OUT) Flag indicating wether BTL uses threads (TRUE)
|
|
|
|
*/
|
|
|
|
extern mca_btl_base_module_t** mca_btl_gm_component_init(
|
|
|
|
int *num_btl_modules,
|
|
|
|
bool allow_multi_user_threads,
|
|
|
|
bool have_hidden_threads
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GM component progress.
|
|
|
|
*/
|
|
|
|
extern int mca_btl_gm_component_progress(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Cleanup any resources held by the BTL.
|
|
|
|
*
|
|
|
|
* @param btl BTL instance.
|
|
|
|
* @return OMPI_SUCCESS or error status on failure.
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_finalize(
|
|
|
|
struct mca_btl_base_module_t* btl
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PML->BTL notification of change in the process list.
|
|
|
|
*
|
|
|
|
* @param btl (IN)
|
|
|
|
* @param nprocs (IN) Number of processes
|
|
|
|
* @param procs (IN) Set of processes
|
|
|
|
* @param peers (OUT) Set of (optional) peer addressing info.
|
|
|
|
* @param peers (IN/OUT) Set of processes that are reachable via this BTL.
|
|
|
|
* @return OMPI_SUCCESS or error status on failure.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_add_procs(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
size_t nprocs,
|
|
|
|
struct ompi_proc_t **procs,
|
|
|
|
struct mca_btl_base_endpoint_t** peers,
|
2009-03-03 22:25:13 +00:00
|
|
|
opal_bitmap_t* reachable
|
2005-06-30 18:21:55 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PML->BTL notification of change in the process list.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL instance
|
|
|
|
* @param nproc (IN) Number of processes.
|
|
|
|
* @param procs (IN) Set of processes.
|
|
|
|
* @param peers (IN) Set of peer data structures.
|
|
|
|
* @return Status indicating if cleanup was successful
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_del_procs(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
size_t nprocs,
|
|
|
|
struct ompi_proc_t **procs,
|
|
|
|
struct mca_btl_base_endpoint_t** peers
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initiate an asynchronous send.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @param endpoint (IN) BTL addressing information
|
|
|
|
* @param descriptor (IN) Description of the data to be transfered
|
|
|
|
* @param tag (IN) The tag value used to notify the peer.
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_send(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
struct mca_btl_base_endpoint_t* btl_peer,
|
|
|
|
struct mca_btl_base_descriptor_t* descriptor,
|
|
|
|
mca_btl_base_tag_t tag
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initiate an asynchronous put.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @param endpoint (IN) BTL addressing information
|
|
|
|
* @param descriptor (IN) Description of the data to be transferred
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_put(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
struct mca_btl_base_endpoint_t* btl_peer,
|
|
|
|
struct mca_btl_base_descriptor_t* decriptor
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initiate an asynchronous get.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @param endpoint (IN) BTL addressing information
|
|
|
|
* @param descriptor (IN) Description of the data to be transferred
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_get(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
struct mca_btl_base_endpoint_t* btl_peer,
|
|
|
|
struct mca_btl_base_descriptor_t* decriptor
|
|
|
|
);
|
|
|
|
|
2006-08-16 20:21:38 +00:00
|
|
|
/**
|
|
|
|
* Register a callback function that is called on error.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @return Status indicating if registration was successful
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_register_error_cb(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
mca_btl_base_module_error_cb_fn_t cbfunc);
|
2005-06-30 18:21:55 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Allocate a descriptor with a segment of the requested size.
|
|
|
|
* Note that the BTL layer may choose to return a smaller size
|
|
|
|
* if it cannot support the request.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @param size (IN) Request segment size.
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern mca_btl_base_descriptor_t* mca_btl_gm_alloc(
|
2007-12-09 14:00:42 +00:00
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
struct mca_btl_base_endpoint_t* endpoint,
|
2007-05-24 19:51:26 +00:00
|
|
|
uint8_t order,
|
2007-12-09 14:08:01 +00:00
|
|
|
size_t size,
|
|
|
|
uint32_t flags);
|
2005-06-30 18:21:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return a segment allocated by this BTL.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @param descriptor (IN) Allocated descriptor.
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int mca_btl_gm_free(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
mca_btl_base_descriptor_t* des);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Prepare a descriptor for send/rdma using the supplied
|
|
|
|
* convertor. If the convertor references data that is contigous,
|
|
|
|
* the descriptor may simply point to the user buffer. Otherwise,
|
|
|
|
* this routine is responsible for allocating buffer space and
|
|
|
|
* packing if required.
|
|
|
|
*
|
|
|
|
* @param btl (IN) BTL module
|
|
|
|
* @param endpoint (IN) BTL peer addressing
|
|
|
|
* @param convertor (IN) Data type convertor
|
|
|
|
* @param reserve (IN) Additional bytes requested by upper layer to precede user data
|
|
|
|
* @param size (IN/OUT) Number of bytes to prepare (IN), number of bytes actually prepared (OUT)
|
|
|
|
*/
|
|
|
|
|
|
|
|
mca_btl_base_descriptor_t* mca_btl_gm_prepare_src(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
struct mca_btl_base_endpoint_t* peer,
|
|
|
|
struct mca_mpool_base_registration_t*,
|
- Split the datatype engine into two parts: an MPI specific part in
OMPI
and a language agnostic part in OPAL. The convertor is completely
moved into OPAL. This offers several benefits as described in RFC
http://www.open-mpi.org/community/lists/devel/2009/07/6387.php
namely:
- Fewer basic types (int* and float* types, boolean and wchar
- Fixing naming scheme to ompi-nomenclature.
- Usability outside of the ompi-layer.
- Due to the fixed nature of simple opal types, their information is
completely
known at compile time and therefore constified
- With fewer datatypes (22), the actual sizes of bit-field types may be
reduced
from 64 to 32 bits, allowing reorganizing the opal_datatype
structure, eliminating holes and keeping data required in convertor
(upon send/recv) in one cacheline...
This has implications to the convertor-datastructure and other parts
of the code.
- Several performance tests have been run, the netpipe latency does not
change with
this patch on Linux/x86-64 on the smoky cluster.
- Extensive tests have been done to verify correctness (no new
regressions) using:
1. mpi_test_suite on linux/x86-64 using clean ompi-trunk and
ompi-ddt:
a. running both trunk and ompi-ddt resulted in no differences
(except for MPI_SHORT_INT and MPI_TYPE_MIX_LB_UB do now run
correctly).
b. with --enable-memchecker and running under valgrind (one buglet
when run with static found in test-suite, commited)
2. ibm testsuite on linux/x86-64 using clean ompi-trunk and ompi-ddt:
all passed (except for the dynamic/ tests failed!! as trunk/MTT)
3. compilation and usage of HDF5 tests on Jaguar using PGI and
PathScale compilers.
4. compilation and usage on Scicortex.
- Please note, that for the heterogeneous case, (-m32 compiled
binaries/ompi), neither
ompi-trunk, nor ompi-ddt branch would successfully launch.
This commit was SVN r21641.
2009-07-13 04:56:31 +00:00
|
|
|
struct opal_convertor_t* convertor,
|
2007-05-24 19:51:26 +00:00
|
|
|
uint8_t order,
|
2005-06-30 18:21:55 +00:00
|
|
|
size_t reserve,
|
2007-12-09 14:08:01 +00:00
|
|
|
size_t* size,
|
|
|
|
uint32_t flags
|
2005-06-30 18:21:55 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
extern mca_btl_base_descriptor_t* mca_btl_gm_prepare_dst(
|
|
|
|
struct mca_btl_base_module_t* btl,
|
|
|
|
struct mca_btl_base_endpoint_t* peer,
|
|
|
|
struct mca_mpool_base_registration_t*,
|
- Split the datatype engine into two parts: an MPI specific part in
OMPI
and a language agnostic part in OPAL. The convertor is completely
moved into OPAL. This offers several benefits as described in RFC
http://www.open-mpi.org/community/lists/devel/2009/07/6387.php
namely:
- Fewer basic types (int* and float* types, boolean and wchar
- Fixing naming scheme to ompi-nomenclature.
- Usability outside of the ompi-layer.
- Due to the fixed nature of simple opal types, their information is
completely
known at compile time and therefore constified
- With fewer datatypes (22), the actual sizes of bit-field types may be
reduced
from 64 to 32 bits, allowing reorganizing the opal_datatype
structure, eliminating holes and keeping data required in convertor
(upon send/recv) in one cacheline...
This has implications to the convertor-datastructure and other parts
of the code.
- Several performance tests have been run, the netpipe latency does not
change with
this patch on Linux/x86-64 on the smoky cluster.
- Extensive tests have been done to verify correctness (no new
regressions) using:
1. mpi_test_suite on linux/x86-64 using clean ompi-trunk and
ompi-ddt:
a. running both trunk and ompi-ddt resulted in no differences
(except for MPI_SHORT_INT and MPI_TYPE_MIX_LB_UB do now run
correctly).
b. with --enable-memchecker and running under valgrind (one buglet
when run with static found in test-suite, commited)
2. ibm testsuite on linux/x86-64 using clean ompi-trunk and ompi-ddt:
all passed (except for the dynamic/ tests failed!! as trunk/MTT)
3. compilation and usage of HDF5 tests on Jaguar using PGI and
PathScale compilers.
4. compilation and usage on Scicortex.
- Please note, that for the heterogeneous case, (-m32 compiled
binaries/ompi), neither
ompi-trunk, nor ompi-ddt branch would successfully launch.
This commit was SVN r21641.
2009-07-13 04:56:31 +00:00
|
|
|
struct opal_convertor_t* convertor,
|
2007-05-24 19:51:26 +00:00
|
|
|
uint8_t order,
|
2005-06-30 18:21:55 +00:00
|
|
|
size_t reserve,
|
2007-12-09 14:08:01 +00:00
|
|
|
size_t* size,
|
|
|
|
uint32_t flags);
|
2005-06-30 18:21:55 +00:00
|
|
|
|
2007-03-16 23:11:45 +00:00
|
|
|
/**
|
|
|
|
* Fault Tolerance Event Notification Function
|
|
|
|
* @param state Checkpoint Stae
|
|
|
|
* @return OMPI_SUCCESS or failure status
|
|
|
|
*/
|
|
|
|
int mca_btl_gm_ft_event(int state);
|
2005-06-30 18:21:55 +00:00
|
|
|
|
2005-10-17 18:59:28 +00:00
|
|
|
/**
|
|
|
|
* Acquire a send token - queue the fragment if none available
|
|
|
|
*/
|
|
|
|
|
2006-03-02 00:39:07 +00:00
|
|
|
#define MCA_BTL_GM_ACQUIRE_TOKEN_NL(btl, frag) \
|
|
|
|
do { \
|
|
|
|
/* queue the descriptor if there are no send tokens */ \
|
|
|
|
if(OPAL_THREAD_ADD32(&gm_btl->gm_num_send_tokens, -1) < 0) { \
|
|
|
|
opal_list_append(&gm_btl->gm_pending, (opal_list_item_t*)frag); \
|
|
|
|
OPAL_THREAD_ADD32(&gm_btl->gm_num_send_tokens, 1); \
|
|
|
|
return OMPI_SUCCESS; \
|
|
|
|
} \
|
|
|
|
} while (0) \
|
|
|
|
|
|
|
|
|
2005-10-17 18:59:28 +00:00
|
|
|
#define MCA_BTL_GM_ACQUIRE_TOKEN(btl, frag) \
|
|
|
|
do { \
|
|
|
|
/* queue the descriptor if there are no send tokens */ \
|
|
|
|
if(OPAL_THREAD_ADD32(&gm_btl->gm_num_send_tokens, -1) < 0) { \
|
|
|
|
opal_list_append(&gm_btl->gm_pending, (opal_list_item_t*)frag); \
|
|
|
|
OPAL_THREAD_ADD32(&gm_btl->gm_num_send_tokens, 1); \
|
2006-03-02 00:39:07 +00:00
|
|
|
OPAL_THREAD_UNLOCK(&mca_btl_gm_component.gm_lock); \
|
2005-10-17 18:59:28 +00:00
|
|
|
return OMPI_SUCCESS; \
|
|
|
|
} \
|
|
|
|
} while (0) \
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return send token and dequeue and pending fragments
|
2006-03-02 00:39:07 +00:00
|
|
|
* mca_btl_gm_component.gm_lock is already held.
|
2005-10-17 18:59:28 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define MCA_BTL_GM_RETURN_TOKEN(btl) \
|
|
|
|
do { \
|
|
|
|
OPAL_THREAD_ADD32( &btl->gm_num_send_tokens, 1 ); \
|
|
|
|
if(opal_list_get_size(&btl->gm_pending)) { \
|
|
|
|
mca_btl_gm_frag_t* frag; \
|
|
|
|
frag = (mca_btl_gm_frag_t*)opal_list_remove_first(&btl->gm_pending); \
|
|
|
|
if(NULL != frag) { \
|
|
|
|
switch(frag->type) { \
|
|
|
|
case MCA_BTL_GM_SEND: \
|
2006-10-10 14:56:55 +00:00
|
|
|
case MCA_BTL_GM_EAGER: \
|
2006-03-02 00:39:07 +00:00
|
|
|
mca_btl_gm_send_nl(&btl->super, frag->endpoint, &frag->base, frag->hdr->tag); \
|
2005-10-17 18:59:28 +00:00
|
|
|
break; \
|
|
|
|
case MCA_BTL_GM_PUT: \
|
2006-03-02 00:39:07 +00:00
|
|
|
mca_btl_gm_put_nl(&btl->super, frag->endpoint, &frag->base); \
|
2005-10-17 18:59:28 +00:00
|
|
|
break; \
|
|
|
|
case MCA_BTL_GM_GET: \
|
2006-03-02 00:39:07 +00:00
|
|
|
mca_btl_gm_get_nl(&btl->super, frag->endpoint, &frag->base); \
|
2005-10-17 18:59:28 +00:00
|
|
|
break; \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
|
2009-08-20 11:42:18 +00:00
|
|
|
END_C_DECLS
|
2005-06-30 18:21:55 +00:00
|
|
|
#endif
|