Skip to content

Commit

Permalink
Merge pull request #2352 from karasevb/v2.0.x_fix_spml_yoda
Browse files Browse the repository at this point in the history
oshmem/spml/yoda: fixed the btl operations
  • Loading branch information
hppritcha authored Nov 3, 2016
2 parents 6c4b36f + 2ab3a5f commit d483029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oshmem/mca/spml/yoda/spml_yoda.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static inline void calc_nfrags_put (mca_bml_base_btl_t* bml_btl,
*frag_size = bml_btl->btl->btl_max_send_size - SPML_YODA_SEND_CONTEXT_SIZE;
}
else {
*frag_size = bml_btl->btl->btl_put_limit;
*frag_size = bml_btl->btl->btl_max_send_size;
}
*nfrags = 1 + (size - 1) / (*frag_size);
}
Expand All @@ -133,7 +133,7 @@ static inline void calc_nfrags_get (mca_bml_base_btl_t* bml_btl,
*frag_size = bml_btl->btl->btl_max_send_size - SPML_YODA_SEND_CONTEXT_SIZE;
}
else {
*frag_size = bml_btl->btl->btl_get_limit;
*frag_size = bml_btl->btl->btl_max_send_size;
}
*nfrags = 1 + (size - 1) / (*frag_size);
}
Expand Down

0 comments on commit d483029

Please sign in to comment.