On the last position on the conversion stack in the displacement field we should have the
relative displacement not the absolute one. This relative displacement will be addesd to the absolute one in order to compute the correct position on the source (or destination) buffer. This commit was SVN r7377.
Этот коммит содержится в:
родитель
31d392af95
Коммит
fdfd966aad
@ -175,7 +175,7 @@ int ompi_convertor_create_stack_with_pos_general( ompi_convertor_t* pConvertor,
|
||||
resting_place -= (cnt * basic_type->size);
|
||||
PUSH_STACK( pStack, pConvertor->stack_pos, pos_desc, pElems->elem.common.type,
|
||||
pElems->elem.count - cnt,
|
||||
pStack->disp + pElems->elem.disp + cnt * pElems->elem.extent,
|
||||
pElems->elem.disp + cnt * pElems->elem.extent,
|
||||
pos_desc );
|
||||
pConvertor->bConverted = starting_point - resting_place;
|
||||
DDT_DUMP_STACK( pConvertor->pStack, pConvertor->stack_pos,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user