Correctly build the args for the hindexed_block datatype.
cmr=v1.8.3:reviewer=jsquyres This commit was SVN r32613.
Этот коммит содержится в:
родитель
2679629a12
Коммит
8de93982d5
@ -69,7 +69,7 @@ int MPI_Type_create_hindexed_block(int count,
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
const int* a_i[2] = {&count, &blocklength};
|
const int* a_i[2] = {&count, &blocklength};
|
||||||
ompi_datatype_set_args( *newtype, 2 + count, a_i, count, array_of_displacements, 1, &oldtype,
|
ompi_datatype_set_args( *newtype, 2, a_i, count, array_of_displacements, 1, &oldtype,
|
||||||
MPI_COMBINER_HINDEXED_BLOCK );
|
MPI_COMBINER_HINDEXED_BLOCK );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user