Commit 1e8b428e authored by Rob Latham's avatar Rob Latham
Browse files

Update PAMI device for larger count types



type promotions have resulted in a change to the device layer.

Ref: 1767
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>
Signed-off-by: default avatarSameh S Sharkawi <sssharka@us.ibm.com>
parent 31d95ed7
......@@ -278,7 +278,7 @@ struct MPIDI_Request
MPIDI_MsgEnvelope envelope;
void *userbuf; /**< User buffer */
unsigned userbufcount; /**< Userbuf data count */
MPI_Aint userbufcount; /**< Userbuf data count */
MPI_Datatype datatype; /**< Data type of message */
pami_task_t peer_pami; /**< The other guy's rank (in PAMI) */
unsigned peer_comm; /**< The other guy's rank (in the orig communicator) */
......
......@@ -59,11 +59,11 @@ void MPIDI_Recvq_insert_ool (MPID_Request *q,MPID_Request *e);
/** \} */
void MPIDI_Buffer_copy(const void * const sbuf,
int scount,
MPI_Aint scount,
MPI_Datatype sdt,
int * smpi_errno,
void * const rbuf,
int rcount,
MPI_Aint rcount,
MPI_Datatype rdt,
MPIDI_msg_sz_t * rsz,
int * rmpi_errno);
......@@ -77,7 +77,7 @@ void MPIDI_RecvMsg_procnull(MPID_Comm * comm,
unsigned is_blocking,
MPI_Status * status,
MPID_Request ** request);
void MPIDI_RecvMsg_Unexp(MPID_Request * rreq, void * buf, int count, MPI_Datatype datatype);
void MPIDI_RecvMsg_Unexp(MPID_Request * rreq, void * buf, MPI_Aint count, MPI_Datatype datatype);
/**
* \defgroup MPID_CALLBACKS MPID callbacks for communication
......
......@@ -46,8 +46,8 @@
* \param[out] rmpi_errno Returns errors
*/
void MPIDI_Buffer_copy(
const void * const sbuf, int scount, MPI_Datatype sdt, int * smpi_errno,
void * const rbuf, int rcount, MPI_Datatype rdt, MPIDI_msg_sz_t * rsz, int * rmpi_errno)
const void * const sbuf, MPI_Aint scount, MPI_Datatype sdt, int * smpi_errno,
void * const rbuf, MPI_Aint rcount, MPI_Datatype rdt, MPIDI_msg_sz_t * rsz, int * rmpi_errno)
{
int sdt_contig;
int rdt_contig;
......
......@@ -44,7 +44,7 @@
*/
static inline int
MPID_Irecv_inline(void * buf,
int count,
MPI_Aint count,
MPI_Datatype datatype,
int rank,
int tag,
......
......@@ -80,7 +80,7 @@ MPIDI_Context_local(MPID_Request * req)
*/
static inline int
MPID_Isend_inline(const void * buf,
int count,
MPI_Aint count,
MPI_Datatype datatype,
int rank,
int tag,
......
......@@ -43,7 +43,7 @@
*/
static inline int
MPID_Send_inline(const void * buf,
int count,
MPI_Aint count,
MPI_Datatype datatype,
int rank,
int tag,
......
......@@ -135,7 +135,7 @@ MPIDI_Alloc_lock_inline(void **buf,size_t size)
*/
static inline int
MPIDI_Recv(void * buf,
int count,
MPI_Aint count,
MPI_Datatype datatype,
int rank,
int tag,
......
......@@ -26,7 +26,7 @@
void
MPIDI_RecvMsg_Unexp(MPID_Request * rreq,
void * buf,
int count,
MPI_Aint count,
MPI_Datatype datatype)
{
/* ------------------------------------------------------------ */
......
......@@ -74,7 +74,7 @@ MPIDI_SendDoneCB_inline(pami_context_t context,
*/
static inline int
MPIDI_Send(const void * buf,
int count,
MPI_Aint count,
MPI_Datatype datatype,
int rank,
int tag,
......
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