Changeset 5714 in /cluster/svnroot


Ignore:
Timestamp:
May 26, 2016 9:11:36 PM (5 years ago)
Author:
skylar
Message:

add size debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/bw-institute/2016/day06/matmul/mpi.c

    r5713 r5714  
    132132    fprintf(stderr,"Rank %d local destination matrix:\n",rank);
    133133    print_matrix(&local_dst_m);
     134    fprintf(stderr,"Rank %d local size: %u\n",rank,(local_dst_m.cols*local_dst_m.rows));
     135    if(rank == FIRST_RANK) {
     136        fprintf(stderr,"Rank %d full size: %u\n",rank,(dst_m.cols*dst_m.rows));
     137    }
    134138#endif
    135139
Note: See TracChangeset for help on using the changeset viewer.