1
1

- Only minor white-space changes, to clean up

This commit was SVN r7843.
Этот коммит содержится в:
Rainer Keller 2005-10-24 10:36:16 +00:00
родитель f92185c43b
Коммит d6120d32d6
3 изменённых файлов: 119 добавлений и 119 удалений

Просмотреть файл

@ -30,6 +30,7 @@
#include "mca/gpr/gpr_types.h" #include "mca/gpr/gpr_types.h"
#include "mca/oob/oob_types.h" #include "mca/oob/oob_types.h"
#include "request/request.h" #include "request/request.h"
#include "ompi/proc/proc.h"
#if defined(c_plusplus) || defined(__cplusplus) #if defined(c_plusplus) || defined(__cplusplus)
extern "C" { extern "C" {
@ -75,11 +76,11 @@ OMPI_DECLSPEC extern opal_class_t ompi_communicator_t_class;
#define OMPI_COMM_ALLREDUCE_TAG -31080 #define OMPI_COMM_ALLREDUCE_TAG -31080
/** /**
* Modes reqquired for accquiring the new comm-id. * Modes required for acquiring the new comm-id.
* The first (INTER/INTRA) indicates whether the * The first (INTER/INTRA) indicates whether the
* input comm was an inter/intra-comm, the second * input comm was an inter/intra-comm, the second
* whether the new communicator will be an inter/intra * whether the new communicator will be an inter/intra
*comm * comm
*/ */
#define OMPI_COMM_CID_INTRA 0x00000020 #define OMPI_COMM_CID_INTRA 0x00000020
#define OMPI_COMM_CID_INTER 0x00000040 #define OMPI_COMM_CID_INTER 0x00000040
@ -237,13 +238,13 @@ struct ompi_communicator_t {
/** /**
* extract the local group from a communicator * extract the local group from a communicator
*/ */
int ompi_comm_group ( ompi_communicator_t *comm, ompi_group_t **group ); int ompi_comm_group (ompi_communicator_t *comm, ompi_group_t **group);
/** /**
* create a communicator based on a group * create a communicator based on a group
*/ */
int ompi_comm_create ( ompi_communicator_t* comm, ompi_group_t *group, int ompi_comm_create (ompi_communicator_t* comm, ompi_group_t *group,
ompi_communicator_t** newcomm ); ompi_communicator_t** newcomm);
/** /**
@ -267,7 +268,7 @@ struct ompi_communicator_t {
* *
* @ * @
*/ */
int ompi_comm_split ( ompi_communicator_t *comm, int color, int key, int ompi_comm_split (ompi_communicator_t *comm, int color, int key,
ompi_communicator_t** newcomm, bool pass_on_topo); ompi_communicator_t** newcomm, bool pass_on_topo);
/** /**
@ -278,26 +279,26 @@ struct ompi_communicator_t {
* @param comm: input communicator * @param comm: input communicator
* *
*/ */
int ompi_comm_dup ( ompi_communicator_t *comm, ompi_communicator_t **newcomm); int ompi_comm_dup (ompi_communicator_t *comm, ompi_communicator_t **newcomm);
/** /**
* free a communicator * free a communicator
*/ */
int ompi_comm_free ( ompi_communicator_t **comm ); int ompi_comm_free (ompi_communicator_t **comm);
/** /**
* allocate a new communicator structure * allocate a new communicator structure
* @param local_group_size * @param local_group_size
* @param remote_group_size * @param remote_group_size
* *
* this routine allocates the structure, the according local and * This routine allocates the structure, the according local and
* remote groups, the proc-arrays in the local and remote group. * remote groups, the proc-arrays in the local and remote group.
* It furthermore sets the fortran index correctly, * It furthermore sets the fortran index correctly,
* and sets all other elements to zero. * and sets all other elements to zero.
*/ */
ompi_communicator_t* ompi_comm_allocate ( int local_group_size, ompi_communicator_t* ompi_comm_allocate (int local_group_size,
int remote_group_size ); int remote_group_size);
/** /**
* allocate new communicator ID * allocate new communicator ID
@ -357,15 +358,13 @@ struct ompi_communicator_t {
orte_rml_tag_t tag, orte_rml_tag_t tag,
int rsize); int rsize);
/** /**
* This routine verifies, whether local_group and remote group are overlapping * This routine verifies, whether local_group and remote group are overlapping
* in intercomm_create * in intercomm_create
*/ */
int ompi_comm_overlapping_groups (int size, struct ompi_proc_t **lprocs, int ompi_comm_overlapping_groups (int size, struct ompi_proc_t ** lprocs,
int rsize, struct ompi_proc_t ** rprocs); int rsize, struct ompi_proc_t ** rprocs);
/** /**
* This is a routine determining whether the local or the * This is a routine determining whether the local or the
* remote group will be first in the new intra-comm. * remote group will be first in the new intra-comm.

Просмотреть файл

@ -53,7 +53,7 @@ struct ompi_datatype_t;
typedef int32_t (*conversion_fct_t)( uint32_t count, typedef int32_t (*conversion_fct_t)( uint32_t count,
const void* from, uint32_t from_len, long from_extent, const void* from, uint32_t from_len, long from_extent,
void* to, uint32_t in_length, long to_extent ); void* to, uint32_t to_length, long to_extent );
typedef struct ompi_convertor_t ompi_convertor_t; typedef struct ompi_convertor_t ompi_convertor_t;
typedef int32_t (*convertor_advance_fct_t)( ompi_convertor_t* pConvertor, typedef int32_t (*convertor_advance_fct_t)( ompi_convertor_t* pConvertor,

Просмотреть файл

@ -70,6 +70,7 @@ OMPI_DECLSPEC extern ompi_pointer_array_t *ompi_datatype_f_to_c_table;
#define DT_FLAG_DATA_CPP 0x8000 #define DT_FLAG_DATA_CPP 0x8000
#define DT_FLAG_DATA_FORTRAN 0xC000 #define DT_FLAG_DATA_FORTRAN 0xC000
#define DT_FLAG_DATA_LANGUAGE 0xC000 #define DT_FLAG_DATA_LANGUAGE 0xC000
/* /*
* We should make the difference here between the predefined contiguous and non contiguous * We should make the difference here between the predefined contiguous and non contiguous
* datatypes. The DT_FLAG_BASIC is held by all predefined contiguous datatypes. * datatypes. The DT_FLAG_BASIC is held by all predefined contiguous datatypes.