- Make the context ID be uint32_t
- Make the coll type correct - Change to make the type "struct lam_communicator" so that mpi.h is happy. This may end up changing; we should name all the MPI opaque object structs the same way. This commit was SVN r199.
Этот коммит содержится в:
родитель
a57e4b965b
Коммит
47d7109d5b
@ -2,24 +2,24 @@
|
|||||||
* $HEADER$
|
* $HEADER$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LAM_COMMUNICATOR
|
#ifndef LAM_COMMUNICATOR_H
|
||||||
#define LAM_COMMUNICATOR
|
#define LAM_COMMUNICATOR_H
|
||||||
|
|
||||||
#include "mpi.h"
|
#include "mpi.h"
|
||||||
#include "lam/group.h"
|
#include "lam/group.h"
|
||||||
|
#include "lam/stdint.h"
|
||||||
#include "lam/threads/mutex.h"
|
#include "lam/threads/mutex.h"
|
||||||
#include "mca/mpi/coll/coll.h"
|
#include "mca/mpi/coll/coll.h"
|
||||||
|
|
||||||
struct lam_communicator_t {
|
typedef struct lam_communicator {
|
||||||
char c_name[MPI_MAX_OBJECT_NAME];
|
char c_name[MPI_MAX_OBJECT_NAME];
|
||||||
int c_contextid;
|
uint32_t c_contextid;
|
||||||
int c_refcount;
|
int c_refcount;
|
||||||
int c_flags;
|
int c_flags;
|
||||||
|
|
||||||
lam_group_t c_local_group;
|
lam_group_t c_local_group;
|
||||||
lam_group_t c_remote_group;
|
lam_group_t c_remote_group;
|
||||||
|
|
||||||
|
|
||||||
/* Queues */
|
/* Queues */
|
||||||
|
|
||||||
/* Attributes */
|
/* Attributes */
|
||||||
@ -28,22 +28,16 @@ struct lam_communicator_t {
|
|||||||
|
|
||||||
/* Error handling */
|
/* Error handling */
|
||||||
|
|
||||||
#if 0
|
|
||||||
MPI_Errhandler c_error_handler;
|
MPI_Errhandler c_error_handler;
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Hooks for PML to hang things */
|
/* Hooks for PML to hang things */
|
||||||
|
|
||||||
struct mca_pml_comm_t* c_pml_comm;
|
struct mca_pml_comm_t* c_pml_comm;
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* Hooks for collectives to hang things */
|
/* Hooks for collectives to hang things */
|
||||||
mca_coll_t c_coll;
|
|
||||||
|
mca_coll_1_0_0_t c_coll;
|
||||||
struct mca_coll_comm_t* c_coll_comm;
|
struct mca_coll_comm_t* c_coll_comm;
|
||||||
#endif
|
} lam_communicator_t;
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct lam_communicator_t lam_communicator_t;
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* LAM_COMMUNICATOR_H */
|
#endif /* LAM_COMMUNICATOR_H */
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user