Print the fake DT_END_LOOP entry at the end of the datatype when we
dump the datatype. This commit was SVN r10326.
Этот коммит содержится в:
родитель
c5c0bc39d8
Коммит
3fb5dafdb3
@ -762,10 +762,15 @@ void ompi_ddt_dump( const ompi_datatype_t* pData )
|
||||
index += __dt_contain_basic_datatypes( pData, buffer + index, length - index );
|
||||
index += snprintf( buffer + index, length - index, "\n" );
|
||||
}
|
||||
index += __dump_data_desc( pData->desc.desc, pData->desc.used, buffer + index, length - index );
|
||||
if( pData->opt_desc.desc != NULL ) {
|
||||
/* If the data is already committed print everything including the last
|
||||
* fake DT_END_LOOP entry.
|
||||
*/
|
||||
index += __dump_data_desc( pData->desc.desc, pData->desc.used + 1, buffer + index, length - index );
|
||||
index += snprintf( buffer + index, length - index, "Optimized description \n" );
|
||||
index += __dump_data_desc( pData->opt_desc.desc, pData->opt_desc.used, buffer + index, length - index );
|
||||
index += __dump_data_desc( pData->opt_desc.desc, pData->opt_desc.used + 1, buffer + index, length - index );
|
||||
} else {
|
||||
index += __dump_data_desc( pData->desc.desc, pData->desc.used, buffer + index, length - index );
|
||||
}
|
||||
buffer[index] = '\0'; /* make sure we end the string with 0 */
|
||||
opal_output( 0, "%s\n", buffer );
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user