1
1

Print the name of the array before printing the values.

This commit was SVN r10290.
Этот коммит содержится в:
George Bosilca 2006-06-11 19:53:39 +00:00
родитель a2e0d09448
Коммит 135de73185

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

@ -226,18 +226,21 @@ int32_t ompi_ddt_print_args( const ompi_datatype_t* pData )
printf( "type %d count ints %d count disp %d count datatype %d\n",
pArgs->create_type, pArgs->ci, pArgs->ca, pArgs->cd );
if( pArgs->i != NULL ) {
printf( "ints: " );
for( i = 0; i < pArgs->ci; i++ ) {
printf( "%d ", pArgs->i[i] );
}
printf( "\n" );
}
if( pArgs->a != NULL ) {
printf( "MPI_Aint: " );
for( i = 0; i < pArgs->ca; i++ ) {
printf( "%ld ", (long)pArgs->a[i] );
}
printf( "\n" );
}
if( pArgs->d != NULL ) {
printf( "types: " );
for( i = 0; i < pArgs->cd; i++ ) {
ompi_datatype_t* temp = pArgs->d[i];
if( temp->flags & DT_FLAG_PREDEFINED ) {