George noted I had this logic completely backwards. Oops.
This commit was SVN r16005.
Этот коммит содержится в:
родитель
eac2674f66
Коммит
f53b14bde5
@ -163,7 +163,9 @@ static inline int ompi_convertor_cleanup( ompi_convertor_t* convertor )
|
|||||||
static inline int32_t
|
static inline int32_t
|
||||||
ompi_convertor_need_buffers( const ompi_convertor_t* pConvertor )
|
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->flags & DT_FLAG_NO_GAPS ) return 0;
|
||||||
if( (pConvertor->count == 1) && (pConvertor->flags & DT_FLAG_CONTIGUOUS) ) return 0;
|
if( (pConvertor->count == 1) && (pConvertor->flags & DT_FLAG_CONTIGUOUS) ) return 0;
|
||||||
return 1;
|
return 1;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user