Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCP/TAG/SEND: fixed datatype issue - v1.12 #7839

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
##
#

## 1.12.0 (January 12, 2022)
## 1.12.0 RC3 (January 11, 2022)
### Features:
#### Core
* Added beta-level support for Go language bindings
Expand Down Expand Up @@ -120,6 +120,7 @@
* Multiple fixes in general error flow
* Fixed fallback to PUT pipeline in rendezvous protocol
* Reduced default value of keep-alive interval to 20 seconds
* Fixes in tag_send datatype processing
#### UCT
* Fixed deadlock in TCP
* Suppressed EHOSTUNREACH error in TCP sockcm
Expand Down
8 changes: 7 additions & 1 deletion src/ucp/tag/tag_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,15 @@ UCS_PROFILE_FUNC(ucs_status_ptr_t, ucp_tag_send_nbx,
contig_length, tag);
ucp_request_send_check_status(status, ret, goto out);
}
} else {
} else if (attr_mask == UCP_OP_ATTR_FLAG_NO_IMM_CMPL) {
datatype = ucp_dt_make_contig(1);
contig_length = count;
} else {
/* UCP_OP_ATTR_FIELD_DATATYPE | UCP_OP_ATTR_FLAG_NO_IMM_CMPL */
datatype = param->datatype;
if (UCP_DT_IS_CONTIG(datatype)) {
contig_length = ucp_contig_dt_length(datatype, count);
}
}

if (ucs_unlikely(param->op_attr_mask & UCP_OP_ATTR_FLAG_FORCE_IMM_CMPL)) {
Expand Down