Changeset 98

Show
Ignore:
Timestamp:
03/18/07 03:31:39
Author:
kunxi
Message:

Remove the redunent dump, modify the code style.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/io_fread_shared_ind.upc

    r96 r98  
    77 
    88/* For all BLOCKSIZE == 0, use the static memeory.  
    9 for all other cases, use the dynamic memory allocation  
    10 */ 
     9 * for all other cases, use the dynamic memory allocation  
     10 */ 
    1111 
    1212#if BLOCKSIZE == 0 
     
    5252        ssize_t bytes = upc_all_fread_shared(fd, buffer+offset, blocksize, sizeof(TYPE), nmemb, UPC_IN_NOSYNC | UPC_OUT_NOSYNC); 
    5353 
    54 /* dump the result, not necessary for general test case */ 
    55 for( j = 0; j< THREADS; j++ ) { 
    56         if( MYTHREAD == j) { 
    57                 fprintf(stderr, "TH%d : ", j); 
    58                 for(i = 0; i < nmemb; i++ ) 
    59                         fprintf( stderr, "%d ", buffer[i+offset] ); 
    60                 fprintf(stderr, "\n"); 
    61         } 
    62         upc_barrier; 
    63 } 
    6454 
    6555        /* Validation for data integrity */