Remove some compilation warnings.
This commit was SVN r6753.
Этот коммит содержится в:
родитель
342fef77d0
Коммит
439101dd00
ompi/mca/pml/uniq
@ -274,7 +274,7 @@ int mca_pml_uniq_add_procs(ompi_proc_t** procs, size_t nprocs)
|
|||||||
mca_pml_uniq_ptl_t* ptl_base = OBJ_NEW(mca_pml_uniq_ptl_t);
|
mca_pml_uniq_ptl_t* ptl_base = OBJ_NEW(mca_pml_uniq_ptl_t);
|
||||||
ptl_base->ptl = ptl;
|
ptl_base->ptl = ptl;
|
||||||
ptl_base->ptl_cache_size = ptl->ptl_cache_size;
|
ptl_base->ptl_cache_size = ptl->ptl_cache_size;
|
||||||
ptl->ptl_base = ptl_base;
|
ptl->ptl_base = (struct mca_pml_base_ptl_t*)ptl_base;
|
||||||
}
|
}
|
||||||
proc_pml->proc_ptl_first.ptl_base = ptl->ptl_base;
|
proc_pml->proc_ptl_first.ptl_base = ptl->ptl_base;
|
||||||
proc_pml->proc_ptl_first.ptl_peer = ptl_peers[p];
|
proc_pml->proc_ptl_first.ptl_peer = ptl_peers[p];
|
||||||
|
@ -46,7 +46,7 @@ OBJ_CLASS_DECLARATION(mca_pml_uniq_send_request_t);
|
|||||||
if(NULL == proc) { \
|
if(NULL == proc) { \
|
||||||
return OMPI_ERR_OUT_OF_RESOURCE; \
|
return OMPI_ERR_OUT_OF_RESOURCE; \
|
||||||
} \
|
} \
|
||||||
ptl_base = proc->proc_ptl_first.ptl_base; \
|
ptl_base = (mca_pml_uniq_ptl_t*)proc->proc_ptl_first.ptl_base; \
|
||||||
/* \
|
/* \
|
||||||
* check to see if there is a cache of send requests associated with \
|
* check to see if there is a cache of send requests associated with \
|
||||||
* this ptl - if so try the allocation from there. \
|
* this ptl - if so try the allocation from there. \
|
||||||
@ -119,7 +119,7 @@ OBJ_CLASS_DECLARATION(mca_pml_uniq_send_request_t);
|
|||||||
#define MCA_PML_UNIQ_SEND_REQUEST_RETURN(sendreq) \
|
#define MCA_PML_UNIQ_SEND_REQUEST_RETURN(sendreq) \
|
||||||
{ \
|
{ \
|
||||||
mca_ptl_base_module_t* ptl = (sendreq)->req_ptl; \
|
mca_ptl_base_module_t* ptl = (sendreq)->req_ptl; \
|
||||||
mca_pml_uniq_ptl_t* ptl_base = ptl->ptl_base; \
|
mca_pml_uniq_ptl_t* ptl_base = (mca_pml_uniq_ptl_t*)ptl->ptl_base; \
|
||||||
\
|
\
|
||||||
/* 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) ); \
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user