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 083a73b + b9d8514 commit e4798fbCopy full SHA for e4798fb
ompi/mca/pml/ucx/pml_ucx_request.c
@@ -165,7 +165,8 @@ static int mca_pml_ucx_persistent_request_free(ompi_request_t **rptr)
165
mca_pml_ucx_persistent_request_detach(preq, tmp_req);
166
ucp_request_free(tmp_req);
167
}
168
- if (MCA_PML_BASE_SEND_BUFFERED == preq->send.mode) {
+ if ((preq->flags & MCA_PML_UCX_REQUEST_FLAG_SEND) &&
169
+ (MCA_PML_BASE_SEND_BUFFERED == preq->send.mode)) {
170
OBJ_RELEASE(preq->ompi_datatype);
171
172
PML_UCX_FREELIST_RETURN(&ompi_pml_ucx.persistent_reqs, &preq->ompi.super);
0 commit comments