Skip to content

Commit

Permalink
UCP: Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brminich committed Sep 18, 2024
1 parent 08a8ba7 commit c1f718c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ucp/rndv/rndv_put.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,12 @@ ucp_proto_rndv_put_mtype_probe(const ucp_proto_init_params_t *init_params)
ucs_memory_type_t frag_mem_type;

if (init_params->rkey_config_key == NULL) {
/* FIXME: maybe can initialize proto with all available types if no
* rkey in RTR.
*/
frag_mem_type = UCS_MEMORY_TYPE_HOST;
} else {
/* Can initialize only the same fragment type as received in RTR
* because pipeline protocols assume that both peers use the same
* fragment sizes (and they are different for different memory types by
* default). */
frag_mem_type = init_params->rkey_config_key->mem_type;
}

Expand Down

0 comments on commit c1f718c

Please sign in to comment.