1
1

Merge pull request #1773 from kawashima-fj/pr/hindexed-block-args

ompi/datatype: Fix args of HINDEXED_BLOCK
Этот коммит содержится в:
KAWASHIMA Takahiro 2016-06-13 14:03:17 +09:00 коммит произвёл GitHub
родитель 5911cbcf7e 84b110a1f2
Коммит eb37574afc

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

@ -788,7 +788,7 @@ static ompi_datatype_t* __ompi_datatype_create_from_args( int32_t* i, MPI_Aint*
ompi_datatype_create_hindexed_block( i[0], i[1], a, d[0], &datatype );
{
const int* a_i[2] = {&i[0], &i[1]};
ompi_datatype_set_args( datatype, 2 + i[0], a_i, i[0], a, 1, d, MPI_COMBINER_HINDEXED_BLOCK );
ompi_datatype_set_args( datatype, 2, a_i, i[0], a, 1, d, MPI_COMBINER_HINDEXED_BLOCK );
}
break;
/******************************************************************/