We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1fed77 + 9448814 commit 2f8c759Copy full SHA for 2f8c759
ompi/mca/pml/ucx/pml_ucx_request.c
@@ -166,7 +166,8 @@ static int mca_pml_ucx_persistent_request_free(ompi_request_t **rptr)
166
mca_pml_ucx_persistent_request_detach(preq, tmp_req);
167
ucp_request_free(tmp_req);
168
}
169
- if (MCA_PML_BASE_SEND_BUFFERED == preq->send.mode) {
+ if ((preq->flags & MCA_PML_UCX_REQUEST_FLAG_SEND) &&
170
+ (MCA_PML_BASE_SEND_BUFFERED == preq->send.mode)) {
171
OBJ_RELEASE(preq->ompi_datatype);
172
173
PML_UCX_FREELIST_RETURN(&ompi_pml_ucx.persistent_reqs, &preq->ompi.super);
0 commit comments