Changeset 98
- Timestamp:
- 03/18/07 03:31:39
- Files:
-
- src/io_fread_shared_ind.upc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/io_fread_shared_ind.upc
r96 r98 7 7 8 8 /* For all BLOCKSIZE == 0, use the static memeory. 9 for all other cases, use the dynamic memory allocation10 */9 * for all other cases, use the dynamic memory allocation 10 */ 11 11 12 12 #if BLOCKSIZE == 0 … … 52 52 ssize_t bytes = upc_all_fread_shared(fd, buffer+offset, blocksize, sizeof(TYPE), nmemb, UPC_IN_NOSYNC | UPC_OUT_NOSYNC); 53 53 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 }64 54 65 55 /* Validation for data integrity */
