- Use OMPI_SUCCESS.
Fails to compile in environments with --disable-mpi This commit was SVN r21785.
Этот коммит содержится в:
родитель
9c2b993589
Коммит
6050020c54
@ -3124,7 +3124,7 @@ static int progress_one_device(mca_btl_openib_device_t *device)
|
||||
|
||||
ret = btl_openib_handle_incoming(btl, to_com_frag(frag)->endpoint,
|
||||
frag, size - sizeof(mca_btl_openib_footer_t));
|
||||
if (ret != MPI_SUCCESS) {
|
||||
if (ret != OMPI_SUCCESS) {
|
||||
btl->error_cb(&btl->super, MCA_BTL_ERROR_FLAGS_FATAL);
|
||||
return 0;
|
||||
}
|
||||
|
@ -767,7 +767,7 @@ void mca_btl_openib_endpoint_send_credits(mca_btl_openib_endpoint_t* endpoint,
|
||||
assert(frag->qp_idx == qp);
|
||||
credits_hdr = (mca_btl_openib_rdma_credits_header_t*)
|
||||
to_base_frag(frag)->segment.seg_addr.pval;
|
||||
if(acquire_eager_rdma_send_credit(endpoint) == MPI_SUCCESS) {
|
||||
if(OMPI_SUCCESS == acquire_eager_rdma_send_credit(endpoint)) {
|
||||
do_rdma = true;
|
||||
} else {
|
||||
if(OPAL_THREAD_ADD32(&endpoint->qps[qp].u.pp_qp.cm_sent, 1) >
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user