Commit ee83ffb5 authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

portals4: fix get buffer location for packed sends



This code did not account for the fact that the first part of the message
is already sent in a PtlPut.
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
parent 1555ef7b
......@@ -379,8 +379,8 @@ static int send_msg(ptl_hdr_data_t ssend_flag, struct MPIDI_VC *vc, const void *
MPI_nem_ptl_pack_byte(sreq->dev.segment_ptr, 0, data_sz, REQ_PTL(sreq)->chunk_buffer[0], &REQ_PTL(sreq)->overflow[0]);
/* create ME for buffer so receiver can issue a GET for the data */
me.start = REQ_PTL(sreq)->chunk_buffer[0];
me.length = data_sz;
me.start = (char *)REQ_PTL(sreq)->chunk_buffer[0] + PTL_LARGE_THRESHOLD;
me.length = data_sz - PTL_LARGE_THRESHOLD;
me.ct_handle = PTL_CT_NONE;
me.uid = PTL_UID_ANY;
me.options = ( PTL_ME_OP_PUT | PTL_ME_OP_GET | PTL_ME_USE_ONCE | PTL_ME_IS_ACCESSIBLE | PTL_ME_EVENT_LINK_DISABLE |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment