Enable the MTLs to be compiled in a visibility featured environment.
This commit was SVN r14955.
Этот коммит содержится в:
родитель
af0d875302
Коммит
5d6c958066
@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
@ -31,6 +31,17 @@
|
||||
#include "mtl_mx_endpoint.h"
|
||||
#include "mtl_mx_request.h"
|
||||
|
||||
static int
|
||||
ompi_mtl_mx_add_procs(struct mca_mtl_base_module_t *mtl,
|
||||
size_t nprocs,
|
||||
struct ompi_proc_t** procs,
|
||||
struct mca_mtl_base_endpoint_t **mtl_peer_data);
|
||||
static int
|
||||
ompi_mtl_mx_del_procs(struct mca_mtl_base_module_t *mtl,
|
||||
size_t nprocs,
|
||||
struct ompi_proc_t** procs,
|
||||
struct mca_mtl_base_endpoint_t **mtl_peer_data);
|
||||
|
||||
mca_mtl_mx_module_t ompi_mtl_mx = {
|
||||
{
|
||||
8191, /* max cid - 2^13 - 1 */
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
@ -32,18 +32,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* MTL interface functions */
|
||||
extern int ompi_mtl_mx_add_procs(struct mca_mtl_base_module_t* mtl,
|
||||
size_t nprocs,
|
||||
struct ompi_proc_t** procs,
|
||||
struct mca_mtl_base_endpoint_t **mtl_peer_data);
|
||||
|
||||
extern int ompi_mtl_mx_del_procs(struct mca_mtl_base_module_t* mtl,
|
||||
size_t nprocs,
|
||||
struct ompi_proc_t** procs,
|
||||
struct mca_mtl_base_endpoint_t **mtl_peer_data);
|
||||
|
||||
int
|
||||
ompi_mtl_mx_send(struct mca_mtl_base_module_t* mtl,
|
||||
struct ompi_communicator_t* comm,
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
@ -58,7 +58,7 @@ struct mca_mtl_mx_component_t{
|
||||
};
|
||||
typedef struct mca_mtl_mx_component_t mca_mtl_mx_component_t;
|
||||
|
||||
extern mca_mtl_mx_component_t mca_mtl_mx_component;
|
||||
OMPI_DECLSPEC mca_mtl_mx_component_t mca_mtl_mx_component;
|
||||
|
||||
|
||||
/* match/ignore bit manipulation
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
@ -63,6 +63,8 @@ typedef struct mca_mtl_portals_module_t mca_mtl_portals_module_t;
|
||||
|
||||
extern mca_mtl_portals_module_t ompi_mtl_portals;
|
||||
|
||||
OMPI_DECLSPEC mca_mtl_base_component_1_0_0_t mca_mtl_portals_component;
|
||||
|
||||
|
||||
struct ompi_mtl_portals_event_t {
|
||||
struct ompi_free_list_item_t super;
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
@ -63,7 +63,7 @@ struct mca_mtl_psm_component_t {
|
||||
};
|
||||
typedef struct mca_mtl_psm_component_t mca_mtl_psm_component_t;
|
||||
|
||||
extern mca_mtl_psm_component_t mca_mtl_psm_component;
|
||||
OMPI_DECLSPEC mca_mtl_psm_component_t mca_mtl_psm_component;
|
||||
|
||||
#define PSM_MAKE_MQTAG(ctxt,rank,utag) \
|
||||
( (((ctxt)&0xffffULL)<<48)| (((rank)&0xffffULL)<<32)| \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user