btl/openib: fix warnings
Этот коммит содержится в:
родитель
ccaecf0fd6
Коммит
6e6c786b49
@ -1447,15 +1447,11 @@ mca_btl_base_descriptor_t* mca_btl_openib_prepare_src(
|
||||
size_t* size,
|
||||
uint32_t flags)
|
||||
{
|
||||
mca_btl_openib_module_t *openib_btl;
|
||||
mca_btl_openib_com_frag_t *frag = NULL;
|
||||
struct iovec iov;
|
||||
uint32_t iov_count = 1;
|
||||
size_t max_data = *size;
|
||||
void *ptr;
|
||||
int rc;
|
||||
|
||||
openib_btl = (mca_btl_openib_module_t*)btl;
|
||||
|
||||
assert(MCA_BTL_NO_ORDER == order);
|
||||
|
||||
|
@ -743,7 +743,7 @@ int mca_btl_openib_atomic_fop (struct mca_btl_base_module_t *btl, struct mca_btl
|
||||
void *local_address, uint64_t remote_address,
|
||||
struct mca_btl_base_registration_handle_t *local_handle,
|
||||
struct mca_btl_base_registration_handle_t *remote_handle, mca_btl_base_atomic_op_t op,
|
||||
int64_t operand, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
uint64_t operand, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
void *cbcontext, void *cbdata);
|
||||
|
||||
/**
|
||||
@ -788,8 +788,8 @@ int mca_btl_openib_atomic_fop (struct mca_btl_base_module_t *btl, struct mca_btl
|
||||
int mca_btl_openib_atomic_cswap (struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint,
|
||||
void *local_address, uint64_t remote_address,
|
||||
struct mca_btl_base_registration_handle_t *local_handle,
|
||||
struct mca_btl_base_registration_handle_t *remote_handle, int64_t compare,
|
||||
int64_t value, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
struct mca_btl_base_registration_handle_t *remote_handle, uint64_t compare,
|
||||
uint64_t value, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
void *cbcontext, void *cbdata);
|
||||
|
||||
/**
|
||||
|
@ -107,7 +107,7 @@ int mca_btl_openib_atomic_fop (struct mca_btl_base_module_t *btl, struct mca_btl
|
||||
void *local_address, uint64_t remote_address,
|
||||
struct mca_btl_base_registration_handle_t *local_handle,
|
||||
struct mca_btl_base_registration_handle_t *remote_handle, mca_btl_base_atomic_op_t op,
|
||||
int64_t operand, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
uint64_t operand, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
void *cbcontext, void *cbdata)
|
||||
{
|
||||
|
||||
@ -123,8 +123,8 @@ int mca_btl_openib_atomic_fop (struct mca_btl_base_module_t *btl, struct mca_btl
|
||||
int mca_btl_openib_atomic_cswap (struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint,
|
||||
void *local_address, uint64_t remote_address,
|
||||
struct mca_btl_base_registration_handle_t *local_handle,
|
||||
struct mca_btl_base_registration_handle_t *remote_handle, int64_t compare,
|
||||
int64_t value, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
struct mca_btl_base_registration_handle_t *remote_handle, uint64_t compare,
|
||||
uint64_t value, int flags, int order, mca_btl_base_rdma_completion_fn_t cbfunc,
|
||||
void *cbcontext, void *cbdata)
|
||||
{
|
||||
return mca_btl_openib_atomic_internal (btl, endpoint, local_address, remote_address, local_handle,
|
||||
|
@ -2044,7 +2044,7 @@ static int init_one_device(opal_list_t *btl_list, struct ibv_device* ib_dev)
|
||||
from the default, we're ok. But if the
|
||||
component.receive_queues value came from the 1st
|
||||
device's INI file, we must error. */
|
||||
else if (BTL_OPENIB_RQ_SOURCE_DEVICE_INI ==
|
||||
else if ((mca_base_var_source_t) BTL_OPENIB_RQ_SOURCE_DEVICE_INI ==
|
||||
mca_btl_openib_component.receive_queues_source) {
|
||||
opal_show_help("help-mpi-btl-openib.txt",
|
||||
"locally conflicting receive_queues", true,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user