Remove the warnings. Now they are ompi_free_list_item not opal_list_item_t.
This commit was SVN r10645.
Этот коммит содержится в:
родитель
7d12f9119a
Коммит
9ac1a6cdb3
@ -38,7 +38,7 @@ OBJ_CLASS_DECLARATION(mca_pml_cm_recv_request_t);
|
|||||||
*/
|
*/
|
||||||
#define MCA_PML_CM_RECV_REQUEST_ALLOC(recvreq, rc) \
|
#define MCA_PML_CM_RECV_REQUEST_ALLOC(recvreq, rc) \
|
||||||
do { \
|
do { \
|
||||||
opal_list_item_t *item; \
|
ompi_free_list_item_t*item; \
|
||||||
OMPI_FREE_LIST_GET(&ompi_pml_cm.cm_recv_requests, item, rc); \
|
OMPI_FREE_LIST_GET(&ompi_pml_cm.cm_recv_requests, item, rc); \
|
||||||
recvreq = (mca_pml_cm_recv_request_t*) item; \
|
recvreq = (mca_pml_cm_recv_request_t*) item; \
|
||||||
} while (0)
|
} while (0)
|
||||||
@ -147,11 +147,11 @@ do { \
|
|||||||
/**
|
/**
|
||||||
* Free the PML receive request
|
* Free the PML receive request
|
||||||
*/
|
*/
|
||||||
#define MCA_PML_CM_RECV_REQUEST_RETURN(recvreq) \
|
#define MCA_PML_CM_RECV_REQUEST_RETURN(recvreq) \
|
||||||
{ \
|
{ \
|
||||||
MCA_PML_BASE_RECV_REQUEST_FINI(&(recvreq)->req_recv); \
|
MCA_PML_BASE_RECV_REQUEST_FINI(&(recvreq)->req_recv); \
|
||||||
OMPI_FREE_LIST_RETURN( &ompi_pml_cm.cm_recv_requests, \
|
OMPI_FREE_LIST_RETURN( &ompi_pml_cm.cm_recv_requests, \
|
||||||
(opal_list_item_t*)(recvreq)); \
|
(ompi_free_list_item_t*)(recvreq)); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ OBJ_CLASS_DECLARATION(mca_pml_cm_send_request_t);
|
|||||||
{ \
|
{ \
|
||||||
ompi_proc_t *proc = \
|
ompi_proc_t *proc = \
|
||||||
comm->c_pml_procs[dst]->proc_ompi; \
|
comm->c_pml_procs[dst]->proc_ompi; \
|
||||||
opal_list_item_t* item; \
|
ompi_free_list_item_t* item; \
|
||||||
\
|
\
|
||||||
if(NULL == proc) { \
|
if(NULL == proc) { \
|
||||||
rc = OMPI_ERR_OUT_OF_RESOURCE; \
|
rc = OMPI_ERR_OUT_OF_RESOURCE; \
|
||||||
@ -164,12 +164,12 @@ do { \
|
|||||||
/*
|
/*
|
||||||
* Release resources associated with a request
|
* Release resources associated with a request
|
||||||
*/
|
*/
|
||||||
#define MCA_PML_CM_SEND_REQUEST_RETURN(sendreq) \
|
#define MCA_PML_CM_SEND_REQUEST_RETURN(sendreq) \
|
||||||
{ \
|
{ \
|
||||||
/* Let the base handle the reference counts */ \
|
/* Let the base handle the reference counts */ \
|
||||||
MCA_PML_BASE_SEND_REQUEST_FINI((&(sendreq)->req_send)); \
|
MCA_PML_BASE_SEND_REQUEST_FINI((&(sendreq)->req_send)); \
|
||||||
OMPI_FREE_LIST_RETURN( \
|
OMPI_FREE_LIST_RETURN( \
|
||||||
&ompi_pml_cm.cm_send_requests, (opal_list_item_t*)sendreq); \
|
&ompi_pml_cm.cm_send_requests, (ompi_free_list_item_t*)sendreq); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user