Skip to content

Commit

Permalink
UCP: Fix send perf estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
brminich committed Sep 19, 2024
1 parent c1f718c commit 8ce6409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ucp/proto/proto_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ ucp_proto_common_init_send_perf(const ucp_proto_common_init_params_t *params,
ucs_assert(reg_md_map == 0);

if ((params->flags & UCP_PROTO_COMMON_INIT_FLAG_REMOTE_ACCESS) &&
(params->super.rkey_config_key != NULL)) {
remote_mem_type = params->super.rkey_config_key->mem_type;
(params->reg_mem_type != UCS_MEMORY_TYPE_UNKNOWN)) {
remote_mem_type = params->reg_mem_type;
} else {
remote_mem_type = UCS_MEMORY_TYPE_HOST;
}
Expand Down

0 comments on commit 8ce6409

Please sign in to comment.