Reorder the stack creation.
This commit was SVN r3240.
Этот коммит содержится в:
родитель
d595f88196
Коммит
c7bcceda8b
@ -258,8 +258,6 @@ int ompi_convertor_create_stack_at_begining( ompi_convertor_t* pConvertor, int*
|
|||||||
*/
|
*/
|
||||||
pConvertor->pStack[0].index = -1;
|
pConvertor->pStack[0].index = -1;
|
||||||
pConvertor->pStack[0].count = pConvertor->count;
|
pConvertor->pStack[0].count = pConvertor->count;
|
||||||
index = GET_FIRST_NON_LOOP(pData->desc.desc);
|
|
||||||
pConvertor->pStack[0].disp = pElems[index].disp;
|
|
||||||
/* first here we should select which data representation will be used for
|
/* first here we should select which data representation will be used for
|
||||||
* this operation: normal one or the optimized version ? */
|
* this operation: normal one or the optimized version ? */
|
||||||
if( pData->opt_desc.used > 0 ) {
|
if( pData->opt_desc.used > 0 ) {
|
||||||
@ -269,6 +267,8 @@ int ompi_convertor_create_stack_at_begining( ompi_convertor_t* pConvertor, int*
|
|||||||
pElems = pData->desc.desc;
|
pElems = pData->desc.desc;
|
||||||
pConvertor->pStack[0].end_loop = pData->desc.used;
|
pConvertor->pStack[0].end_loop = pData->desc.used;
|
||||||
}
|
}
|
||||||
|
index = GET_FIRST_NON_LOOP(pData->desc.desc);
|
||||||
|
pConvertor->pStack[0].disp = pElems[index].disp;
|
||||||
pConvertor->pStack[1].index = 0;
|
pConvertor->pStack[1].index = 0;
|
||||||
pConvertor->pStack[1].count = pElems->count;
|
pConvertor->pStack[1].count = pElems->count;
|
||||||
pConvertor->pStack[1].disp = pConvertor->pStack[0].disp;
|
pConvertor->pStack[1].disp = pConvertor->pStack[0].disp;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user