Changeset 5713 in /cluster/svnroot for bccd-ng/bw-institute/2016/day06/matmul/matmul.c


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

this segfaults

File:
1 edited

Legend:

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

    r5712 r5713  
    144144            fprintf(stderr,"Calculating (%d,%d)\n",dst_row,dst_col);
    145145#endif
    146             // Assign destination coordinates based on the start row offset
     146            /* Assign destination coordinates based on the start row offset
     147             * For serial/OpenMP, this has no effect since the full destination
     148             * matrix will be used
     149             * For MPI, a smaller, local destination matrix will be used and the
     150             * indexes must start at 0 regardless of how far into the destination matrix
     151             * we are
     152            */
    147153            dst_coord = coord(dst_m,(dst_row-start_dst_row),dst_col);
    148154            // Make sure destination matrix is initialized
Note: See TracChangeset for help on using the changeset viewer.