We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c9f7af commit 68b5acdCopy full SHA for 68b5acd
oshmem/mca/spml/yoda/spml_yoda.c
@@ -119,7 +119,7 @@ static inline void calc_nfrags_put (mca_bml_base_btl_t* bml_btl,
119
*frag_size = bml_btl->btl->btl_max_send_size - SPML_YODA_SEND_CONTEXT_SIZE;
120
}
121
else {
122
- *frag_size = bml_btl->btl->btl_put_limit;
+ *frag_size = bml_btl->btl->btl_max_send_size;
123
124
*nfrags = 1 + (size - 1) / (*frag_size);
125
@@ -134,7 +134,7 @@ static inline void calc_nfrags_get (mca_bml_base_btl_t* bml_btl,
134
135
136
137
- *frag_size = bml_btl->btl->btl_get_limit;
138
139
140
0 commit comments