Merge pull request #378 from hppritcha/topic/mtl_query_cast_fix
mtl/query: squash compiler warning
Этот коммит содержится в:
Коммит
45e7c7fd60
@ -267,7 +267,7 @@ static int ompi_mtl_mxm_component_query(mca_base_module_t **module, int *priorit
|
||||
*/
|
||||
|
||||
*priority = param_priority;
|
||||
*module = &ompi_mtl_mxm.super;
|
||||
*module = (mca_base_module_t *)&ompi_mtl_mxm.super;
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ static int
|
||||
ompi_mtl_ofi_component_query(mca_base_module_t **module, int *priority)
|
||||
{
|
||||
*priority = param_priority;
|
||||
*module = &ompi_mtl_ofi.base;
|
||||
*module = (mca_base_module_t *)&ompi_mtl_ofi.base;
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ ompi_mtl_portals4_component_query(mca_base_module_t **module, int *priority)
|
||||
*/
|
||||
|
||||
*priority = param_priority;
|
||||
*module = &ompi_mtl_portals4.base;
|
||||
*module = (mca_base_module_t *)&ompi_mtl_portals4.base;
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -200,7 +200,7 @@ ompi_mtl_psm_component_query(mca_base_module_t **module, int *priority)
|
||||
*/
|
||||
|
||||
*priority = param_priority;
|
||||
*module = &ompi_mtl_psm.super;
|
||||
*module = (mca_base_module_t *)&ompi_mtl_psm.super;
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,7 @@ struct mca_mtl_psm_component_t {
|
||||
};
|
||||
typedef struct mca_mtl_psm_component_t mca_mtl_psm_component_t;
|
||||
|
||||
OMPI_DECLSPEC mca_mtl_psm_component_t mca_mtl_psm_component;
|
||||
OMPI_DECLSPEC extern mca_mtl_psm_component_t mca_mtl_psm_component;
|
||||
|
||||
#define PSM_MAKE_MQTAG(ctxt,rank,utag) \
|
||||
( (((ctxt)&0xffffULL)<<48)| (((rank)&0xffffULL)<<32)| \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user