Correct the ompi_convertor_unpack_general fonction and use it.
This commit was SVN r2929.
Этот коммит содержится в:
родитель
7fe187a81e
Коммит
7ca0da0303
@ -40,7 +40,7 @@ void ompi_ddt_dump_stack( dt_stack_t* pStack, int stack_pos, dt_elem_desc_t* pDe
|
|||||||
*/
|
*/
|
||||||
static int ompi_convertor_unpack_general( ompi_convertor_t* pConvertor,
|
static int ompi_convertor_unpack_general( ompi_convertor_t* pConvertor,
|
||||||
struct iovec* iov,
|
struct iovec* iov,
|
||||||
unsigned int out_size,
|
unsigned int* out_size,
|
||||||
unsigned int* max_data,
|
unsigned int* max_data,
|
||||||
int* freeAfter )
|
int* freeAfter )
|
||||||
{
|
{
|
||||||
@ -499,7 +499,8 @@ int ompi_convertor_init_for_recv( ompi_convertor_t* pConv, unsigned int flags,
|
|||||||
pConv->pFunctions = ompi_ddt_copy_functions;
|
pConv->pFunctions = ompi_ddt_copy_functions;
|
||||||
pConv->converted = 0;
|
pConv->converted = 0;
|
||||||
pConv->bConverted = 0;
|
pConv->bConverted = 0;
|
||||||
pConv->fAdvance = ompi_convertor_unpack_homogeneous; /*default behaviour */
|
pConv->fAdvance = ompi_convertor_unpack_general; /* TODO: just stop complaining */
|
||||||
|
pConv->fAdvance = ompi_convertor_unpack_homogeneous; /* default behaviour */
|
||||||
pConv->memAlloc_fn = allocfn;
|
pConv->memAlloc_fn = allocfn;
|
||||||
|
|
||||||
/* TODO: work only on homogeneous architectures */
|
/* TODO: work only on homogeneous architectures */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user