Unsigned datatypes should be redirected to their unsigned correspondants
in the OPAL layer. Thenks to Yossi Etigin for the patch. cmr:v1.5 This commit was SVN r24677.
Этот коммит содержится в:
родитель
b4e5826403
Коммит
c3c231b5ae
@ -138,44 +138,44 @@
|
||||
|
||||
#if SIZEOF_INT == 1
|
||||
#define OMPI_DATATYPE_MPI_INT OMPI_DATATYPE_MPI_INT8_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_INT8_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_UINT8_T
|
||||
#elif SIZEOF_INT == 2
|
||||
#define OMPI_DATATYPE_MPI_INT OMPI_DATATYPE_MPI_INT16_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_INT16_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_UINT16_T
|
||||
#elif SIZEOF_INT == 4
|
||||
#define OMPI_DATATYPE_MPI_INT OMPI_DATATYPE_MPI_INT32_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_INT32_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_UINT32_T
|
||||
#elif SIZEOF_INT == 8
|
||||
#define OMPI_DATATYPE_MPI_INT OMPI_DATATYPE_MPI_INT64_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_INT64_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_INT OMPI_DATATYPE_MPI_UINT64_T
|
||||
#endif
|
||||
|
||||
#if SIZEOF_LONG == 1
|
||||
#define OMPI_DATATYPE_MPI_LONG OMPI_DATATYPE_MPI_INT8_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_INT8_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_UINT8_T
|
||||
#elif SIZEOF_LONG == 2
|
||||
#define OMPI_DATATYPE_MPI_LONG OMPI_DATATYPE_MPI_INT16_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_INT16_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_UINT16_T
|
||||
#elif SIZEOF_LONG == 4
|
||||
#define OMPI_DATATYPE_MPI_LONG OMPI_DATATYPE_MPI_INT32_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_INT32_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_UINT32_T
|
||||
#elif SIZEOF_LONG == 8
|
||||
#define OMPI_DATATYPE_MPI_LONG OMPI_DATATYPE_MPI_INT64_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_INT64_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG OMPI_DATATYPE_MPI_UINT64_T
|
||||
#endif
|
||||
|
||||
#if SIZEOF_LONG_LONG == 1
|
||||
#define OMPI_DATATYPE_MPI_LONG_LONG OMPI_DATATYPE_MPI_INT8_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_INT8_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_UINT8_T
|
||||
#elif SIZEOF_LONG_LONG == 2
|
||||
#define OMPI_DATATYPE_MPI_LONG_LONG OMPI_DATATYPE_MPI_INT16_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_INT16_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_UINT16_T
|
||||
#elif SIZEOF_LONG_LONG == 4
|
||||
#define OMPI_DATATYPE_MPI_LONG_LONG OMPI_DATATYPE_MPI_INT32_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_INT32_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_UINT32_T
|
||||
#elif SIZEOF_LONG_LONG == 8
|
||||
#define OMPI_DATATYPE_MPI_LONG_LONG OMPI_DATATYPE_MPI_INT64_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_INT64_T
|
||||
#define OMPI_DATATYPE_MPI_UNSIGNED_LONG_LONG OMPI_DATATYPE_MPI_UINT64_T
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user