1. 03 Nov, 2013 2 commits
    • Pavan Balaji's avatar
      Fix assertion for large counts. · a5aa7920
      Pavan Balaji authored
      
      
      We were checking for (size of datatype < MPIR_COUNT_MAX / count)
      earlier.  This is not a good test when the count is very large.  This
      patch modifies the assertion to (count * size of datatype <
      MPIR_COUNT_MAX) so we don't run into integer division issues.
      
      Signed-off-by: Rob Latham's avatarRob Latham <robl@mcs.anl.gov>
      a5aa7920
    • Pavan Balaji's avatar
      Fix bit manipulation in the MPI_Status object. · fda1c8ce
      Pavan Balaji authored
      
      
      In C, left-shift has well-defined behavior, but right-shift does not
      for signed integers.  The implementation is free to pad the shifted
      bits with 0's or 1's.  In this patch, we type-cast the values to
      unsigned integers to make the behavior well-defined.
      
      Signed-off-by: Rob Latham's avatarRob Latham <robl@mcs.anl.gov>
      fda1c8ce
  2. 02 Nov, 2013 1 commit
  3. 01 Nov, 2013 5 commits
  4. 31 Oct, 2013 25 commits
  5. 29 Oct, 2013 7 commits