1
1
Alignment requirements were relaxed in open-mpi/ompi@33a3ace874
and made a previous alignment check incorrect.
Этот коммит содержится в:
Gilles Gouaillardet 2015-05-01 12:49:53 +09:00
родитель 0bb73645f0
Коммит 96e3cbe8fc

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

@ -236,15 +236,6 @@ int32_t ompi_datatype_set_args( ompi_datatype_t* pData,
*/
OBJ_RETAIN( d[pos] );
pArgs->total_pack_size += ((ompi_datatype_args_t*)d[pos]->args)->total_pack_size;
#if OPAL_ALIGN_WORD_SIZE_INTEGERS
/*
* as total_pack_size is always aligned to
* MPI_Aint (aka OPAL_PTRDIFF_TYPE) size their sum
* will be aligned to ...
*/
assert( pArgs->total_pack_size ==
OPAL_ALIGN(pArgs->total_pack_size, sizeof(OPAL_PTRDIFF_TYPE), int) );
#endif /* OPAL_ALIGN_WORD_SIZE_INTEGERS */
} else {
pArgs->total_pack_size += 2 * sizeof(int); /* _NAMED + predefined id */
}