MPI_Comm_split_type: fix ABI compatibility
ABI compatibility was previously broken in open-mpi/ompi@3deda3dc82
Этот коммит содержится в:
родитель
a98441cb12
Коммит
24df0ed039
@ -667,6 +667,7 @@ enum {
|
||||
* (see also mpif-common.h.fin).
|
||||
*/
|
||||
enum {
|
||||
MPI_COMM_TYPE_SHARED,
|
||||
OMPI_COMM_TYPE_HWTHREAD,
|
||||
OMPI_COMM_TYPE_CORE,
|
||||
OMPI_COMM_TYPE_L1CACHE,
|
||||
@ -680,7 +681,7 @@ enum {
|
||||
OMPI_COMM_TYPE_CU,
|
||||
OMPI_COMM_TYPE_CLUSTER
|
||||
};
|
||||
#define MPI_COMM_TYPE_SHARED OMPI_COMM_TYPE_NODE
|
||||
#define OMPI_COMM_TYPE_NODE MPI_COMM_TYPE_SHARED
|
||||
|
||||
/*
|
||||
* MPIT Verbosity Levels
|
||||
|
@ -354,15 +354,15 @@ $constants->{MPI_COMBINER_F90_INTEGER} = 16;
|
||||
$constants->{MPI_COMBINER_RESIZED} = 17;
|
||||
$constants->{MPI_COMBINER_HINDEXED_BLOCK} = 18;
|
||||
|
||||
$constants->{OMPI_COMM_TYPE_HWTHREAD} = 0;
|
||||
$constants->{OMPI_COMM_TYPE_CORE} = 1;
|
||||
$constants->{OMPI_COMM_TYPE_L1CACHE} = 2;
|
||||
$constants->{OMPI_COMM_TYPE_L2CACHE} = 3;
|
||||
$constants->{OMPI_COMM_TYPE_L3CACHE} = 4;
|
||||
$constants->{OMPI_COMM_TYPE_SOCKET} = 5;
|
||||
$constants->{OMPI_COMM_TYPE_NUMA} = 6;
|
||||
$constants->{OMPI_COMM_TYPE_NODE} = 7;
|
||||
$constants->{MPI_COMM_TYPE_SHARED} = 7;
|
||||
$constants->{MPI_COMM_TYPE_SHARED} = 0;
|
||||
$constants->{OMPI_COMM_TYPE_HWTHREAD} = 1;
|
||||
$constants->{OMPI_COMM_TYPE_CORE} = 2;
|
||||
$constants->{OMPI_COMM_TYPE_L1CACHE} = 3;
|
||||
$constants->{OMPI_COMM_TYPE_L2CACHE} = 4;
|
||||
$constants->{OMPI_COMM_TYPE_L3CACHE} = 5;
|
||||
$constants->{OMPI_COMM_TYPE_SOCKET} = 6;
|
||||
$constants->{OMPI_COMM_TYPE_NUMA} = 7;
|
||||
$constants->{OMPI_COMM_TYPE_NODE} = 0;
|
||||
$constants->{OMPI_COMM_TYPE_BOARD} = 8;
|
||||
$constants->{OMPI_COMM_TYPE_HOST} = 9;
|
||||
$constants->{OMPI_COMM_TYPE_CU} = 10;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user