- atomically increment offset
- correct fragment type This commit was SVN r3430.
Этот коммит содержится в:
родитель
2b72629c23
Коммит
e4bb0003a9
@ -207,7 +207,7 @@ int mca_ptl_mx_send(
|
||||
/* must update the offset after actual fragment size is determined
|
||||
* before attempting to send the fragment
|
||||
*/
|
||||
sendreq->req_offset += size;
|
||||
mca_pml_base_send_request_offset(sendreq, size);
|
||||
|
||||
/* start the fragment */
|
||||
mx_return = mx_isend(
|
||||
@ -338,7 +338,7 @@ int mca_ptl_mx_send_continue(
|
||||
/* must update the offset after actual fragment size is determined
|
||||
* before attempting to send the fragment
|
||||
*/
|
||||
sendreq->req_offset += size;
|
||||
mca_pml_base_send_request_offset(sendreq, size);
|
||||
|
||||
/* start the fragment */
|
||||
match.sval.uval = (uint32_t)sendreq;
|
||||
|
@ -177,7 +177,7 @@ static void mca_ptl_mx_match(void* context, uint64_t match_value, int size)
|
||||
frag->frag_size = size;
|
||||
frag->frag_recv.frag_base.frag_size = size - sizeof(mca_ptl_base_header_t);
|
||||
frag->frag_recv.frag_base.frag_header.hdr_common.hdr_type =
|
||||
MCA_PTL_HDR_TYPE_MATCH;
|
||||
MCA_PTL_HDR_TYPE_FRAG;
|
||||
|
||||
/* initialize convertor */
|
||||
ompi_convertor_copy(proc->proc_convertor, convertor);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user