1
1

George noted I had this logic completely backwards. Oops.

This commit was SVN r16005.
Этот коммит содержится в:
Brian Barrett 2007-08-29 16:18:04 +00:00
родитель eac2674f66
Коммит f53b14bde5

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

@ -163,7 +163,9 @@ static inline int ompi_convertor_cleanup( ompi_convertor_t* convertor )
static inline int32_t
ompi_convertor_need_buffers( const ompi_convertor_t* pConvertor )
{
if (OPAL_UNLIKELY(0 != (pConvertor->flags & CONVERTOR_HOMOGENEOUS))) return 1;
#if OMPI_ENABLE_HETEROGENEOUS_SUPPORT
if (OPAL_UNLIKELY(0 == (pConvertor->flags & CONVERTOR_HOMOGENEOUS))) return 1;
#endif
if( pConvertor->flags & DT_FLAG_NO_GAPS ) return 0;
if( (pConvertor->count == 1) && (pConvertor->flags & DT_FLAG_CONTIGUOUS) ) return 0;
return 1;