1
1

The condition to be able to use the user buffer for the receive is to have a contiguous datatype AND to have

it's extent equal to the size.

This commit was SVN r5103.
Этот коммит содержится в:
George Bosilca 2005-03-30 15:03:46 +00:00
родитель 9100aa945d
Коммит c7fe83c845

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

@ -600,7 +600,8 @@ conversion_fct_t ompi_ddt_copy_functions[DT_MAX_PREDEFINED] = {
*/
int32_t ompi_convertor_need_buffers( ompi_convertor_t* pConvertor )
{
if( pConvertor->flags & DT_FLAG_CONTIGUOUS ) return 0;
ompi_datatype_t* pData = pConvertor->pDesc;
if( (long)pData->size == (pData->ub - pData->lb) ) return 0;
return 1;
}