Miscellaneous compiler warning stomps.
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
родитель
f0899b9d1d
Коммит
fe0852bcb4
@ -441,7 +441,7 @@ int mca_pml_ucx_irecv_init(void *buf, size_t count, ompi_datatype_t *datatype,
|
||||
req->flags = 0;
|
||||
req->buffer = buf;
|
||||
req->count = count;
|
||||
req->datatype = mca_pml_ucx_get_datatype(datatype);
|
||||
req->datatype.datatype = mca_pml_ucx_get_datatype(datatype);
|
||||
|
||||
PML_UCX_MAKE_RECV_TAG(req->tag, req->recv.tag_mask, tag, src, comm);
|
||||
|
||||
@ -551,10 +551,10 @@ int mca_pml_ucx_isend_init(const void *buf, size_t count, ompi_datatype_t *datat
|
||||
req->send.mode = mode;
|
||||
req->send.ep = ep;
|
||||
if (MCA_PML_BASE_SEND_BUFFERED == mode) {
|
||||
req->ompi_datatype = datatype;
|
||||
req->datatype.ompi_datatype = datatype;
|
||||
OBJ_RETAIN(datatype);
|
||||
} else {
|
||||
req->datatype = mca_pml_ucx_get_datatype(datatype);
|
||||
req->datatype.datatype = mca_pml_ucx_get_datatype(datatype);
|
||||
}
|
||||
|
||||
*request = &req->ompi;
|
||||
@ -917,8 +917,8 @@ int mca_pml_ucx_start(size_t count, ompi_request_t** requests)
|
||||
tmp_req = (ompi_request_t*)mca_pml_ucx_common_send(preq->send.ep,
|
||||
preq->buffer,
|
||||
preq->count,
|
||||
preq->ompi_datatype,
|
||||
preq->datatype,
|
||||
preq->datatype.ompi_datatype,
|
||||
preq->datatype.datatype,
|
||||
preq->tag,
|
||||
preq->send.mode,
|
||||
mca_pml_ucx_psend_completion);
|
||||
@ -926,7 +926,8 @@ int mca_pml_ucx_start(size_t count, ompi_request_t** requests)
|
||||
PML_UCX_VERBOSE(8, "start recv request %p", (void*)preq);
|
||||
tmp_req = (ompi_request_t*)ucp_tag_recv_nb(ompi_pml_ucx.ucp_worker,
|
||||
preq->buffer, preq->count,
|
||||
preq->datatype, preq->tag,
|
||||
preq->datatype.datatype,
|
||||
preq->tag,
|
||||
preq->recv.tag_mask,
|
||||
mca_pml_ucx_precv_completion);
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ static int mca_pml_ucx_persistent_request_free(ompi_request_t **rptr)
|
||||
}
|
||||
if ((preq->flags & MCA_PML_UCX_REQUEST_FLAG_SEND) &&
|
||||
(MCA_PML_BASE_SEND_BUFFERED == preq->send.mode)) {
|
||||
OBJ_RELEASE(preq->ompi_datatype);
|
||||
OBJ_RELEASE(preq->datatype.ompi_datatype);
|
||||
}
|
||||
PML_UCX_FREELIST_RETURN(&ompi_pml_ucx.persistent_reqs, &preq->ompi.super);
|
||||
*rptr = MPI_REQUEST_NULL;
|
||||
|
@ -102,7 +102,7 @@ struct pml_ucx_persistent_request {
|
||||
union {
|
||||
ucp_datatype_t datatype;
|
||||
ompi_datatype_t *ompi_datatype;
|
||||
};
|
||||
} datatype;
|
||||
ucp_tag_t tag;
|
||||
struct {
|
||||
mca_pml_base_send_mode_t mode;
|
||||
|
@ -413,7 +413,7 @@ int mca_btl_tcp_proc_insert( mca_btl_tcp_proc_t* btl_proc,
|
||||
{
|
||||
struct sockaddr_storage endpoint_addr_ss;
|
||||
const char *proc_hostname;
|
||||
unsigned int perm_size;
|
||||
unsigned int perm_size = 0;
|
||||
int rc, *a = NULL;
|
||||
size_t i, j;
|
||||
mca_btl_tcp_interface_t** peer_interfaces = NULL;
|
||||
|
@ -269,7 +269,7 @@ int mca_btl_uct_sendi (mca_btl_base_module_t *btl, mca_btl_base_endpoint_t *endp
|
||||
/* message with header */
|
||||
const size_t msg_size = total_size + 8;
|
||||
mca_btl_uct_am_header_t am_header;
|
||||
ucs_status_t ucs_status;
|
||||
ucs_status_t ucs_status = UCS_OK;
|
||||
uct_ep_h ep_handle;
|
||||
int rc;
|
||||
|
||||
|
@ -88,7 +88,7 @@ int opal_common_ucx_wait_request(ucs_status_ptr_t request, ucp_worker_h worker,
|
||||
if (OPAL_LIKELY(UCS_OK == request)) {
|
||||
return OPAL_SUCCESS;
|
||||
} else if (OPAL_UNLIKELY(UCS_PTR_IS_ERR(request))) {
|
||||
MCA_COMMON_UCX_VERBOSE(1, "%s failed: %d, %s", msg ? msg : __FUNCTION__,
|
||||
MCA_COMMON_UCX_VERBOSE(1, "%s failed: %d, %s", msg ? msg : __func__,
|
||||
UCS_PTR_STATUS(request),
|
||||
ucs_status_string(UCS_PTR_STATUS(request)));
|
||||
return OPAL_ERROR;
|
||||
@ -108,7 +108,7 @@ int opal_common_ucx_wait_request(ucs_status_ptr_t request, ucp_worker_h worker,
|
||||
if (OPAL_LIKELY(UCS_OK == status)) {
|
||||
return OPAL_SUCCESS;
|
||||
} else {
|
||||
MCA_COMMON_UCX_VERBOSE(1, "%s failed: %d, %s", msg ? msg : __FUNCTION__,
|
||||
MCA_COMMON_UCX_VERBOSE(1, "%s failed: %d, %s", msg ? msg : __func__,
|
||||
UCS_PTR_STATUS(request),
|
||||
ucs_status_string(UCS_PTR_STATUS(request)));
|
||||
return OPAL_ERROR;
|
||||
|
@ -765,7 +765,7 @@ static void print_ranks(opal_list_t *statlist)
|
||||
opal_list_item_t *item;
|
||||
opal_pstats_t *stats, *pstats;
|
||||
int32_t minrank;
|
||||
char pretty_time[10];
|
||||
char pretty_time[32];
|
||||
int i;
|
||||
|
||||
/* sort the results by rank */
|
||||
|
@ -107,7 +107,7 @@ MPI_Comm oshmem_comm_world = {0};
|
||||
|
||||
opal_thread_t *oshmem_mpi_main_thread = NULL;
|
||||
|
||||
shmem_internal_mutex_t shmem_internal_mutex_alloc = {0};
|
||||
shmem_internal_mutex_t shmem_internal_mutex_alloc = {{0}};
|
||||
|
||||
shmem_ctx_t oshmem_ctx_default = NULL;
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user