Activate the CXX_BOOL datatype. Should be verified !!!
This commit was SVN r1644.
Этот коммит содержится в:
родитель
0db082ad03
Коммит
7f19bd186f
@ -28,7 +28,7 @@ extern ompi_pointer_array_t *ompi_datatype_f_to_c_table;
|
|||||||
/* if there are more basic datatypes than the number of bytes in the int type
|
/* if there are more basic datatypes than the number of bytes in the int type
|
||||||
* the bdt_used field of the data description struct should be changed to long.
|
* the bdt_used field of the data description struct should be changed to long.
|
||||||
*/
|
*/
|
||||||
#define DT_MAX_PREDEFINED 0x2A
|
#define DT_MAX_PREDEFINED 0x2B
|
||||||
|
|
||||||
#define DT_INCREASE_STACK 32
|
#define DT_INCREASE_STACK 32
|
||||||
|
|
||||||
|
@ -69,7 +69,8 @@
|
|||||||
#define DT_WCHAR 0x26
|
#define DT_WCHAR 0x26
|
||||||
#define DT_2COMPLEX 0x27
|
#define DT_2COMPLEX 0x27
|
||||||
#define DT_2DOUBLE_COMPLEX 0x28
|
#define DT_2DOUBLE_COMPLEX 0x28
|
||||||
#define DT_UNAVAILABLE 0x29
|
#define DT_CXX_BOOL 0x29
|
||||||
|
#define DT_UNAVAILABLE 0x2A
|
||||||
/* If the number of basic datatype should change update
|
/* If the number of basic datatype should change update
|
||||||
* DT_MAX_PREDEFINED in datatype.h
|
* DT_MAX_PREDEFINED in datatype.h
|
||||||
*/
|
*/
|
||||||
|
@ -75,6 +75,7 @@ ompi_datatype_t basicDatatypes[DT_MAX_PREDEFINED] = {
|
|||||||
INIT_BASIC_TYPE( DT_WCHAR, WCHAR ),
|
INIT_BASIC_TYPE( DT_WCHAR, WCHAR ),
|
||||||
INIT_BASIC_TYPE( DT_2COMPLEX, 2COMPLEX ),
|
INIT_BASIC_TYPE( DT_2COMPLEX, 2COMPLEX ),
|
||||||
INIT_BASIC_TYPE( DT_2DOUBLE_COMPLEX, 2DOUBLE_COMPLEX ),
|
INIT_BASIC_TYPE( DT_2DOUBLE_COMPLEX, 2DOUBLE_COMPLEX ),
|
||||||
|
INIT_BASIC_DATA( int, OMPI_ALIGNMENT_INT, CXX_BOOL ),
|
||||||
INIT_BASIC_TYPE( DT_UNAVAILABLE, UNAVAILABLE )
|
INIT_BASIC_TYPE( DT_UNAVAILABLE, UNAVAILABLE )
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -116,7 +117,7 @@ ompi_datatype_t* ompi_mpi_unsigned_long_long = basicDatatypes + DT_UNSIGNED_LONG
|
|||||||
ompi_datatype_t* ompi_mpi_cxx_cplex = basicDatatypes + DT_COMPLEX_FLOAT;
|
ompi_datatype_t* ompi_mpi_cxx_cplex = basicDatatypes + DT_COMPLEX_FLOAT;
|
||||||
ompi_datatype_t* ompi_mpi_cxx_dblcplex = basicDatatypes + DT_COMPLEX_DOUBLE;
|
ompi_datatype_t* ompi_mpi_cxx_dblcplex = basicDatatypes + DT_COMPLEX_DOUBLE;
|
||||||
ompi_datatype_t* ompi_mpi_cxx_ldblcplex = basicDatatypes + DT_COMPLEX_LONG_DOUBLE;
|
ompi_datatype_t* ompi_mpi_cxx_ldblcplex = basicDatatypes + DT_COMPLEX_LONG_DOUBLE;
|
||||||
ompi_datatype_t* ompi_mpi_cxx_bool;
|
ompi_datatype_t* ompi_mpi_cxx_bool = basicDatatypes + DT_CXX_BOOL;
|
||||||
ompi_datatype_t* ompi_mpi_2cplex = basicDatatypes + DT_2COMPLEX;
|
ompi_datatype_t* ompi_mpi_2cplex = basicDatatypes + DT_2COMPLEX;
|
||||||
ompi_datatype_t* ompi_mpi_2dblcplex = basicDatatypes + DT_2DOUBLE_COMPLEX;
|
ompi_datatype_t* ompi_mpi_2dblcplex = basicDatatypes + DT_2DOUBLE_COMPLEX;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user