Skip to content

Commit fe4ef14

Browse files
committed
pml/ucx: Fix the max tag and context id values
Signed-off-by: Nysal Jan K.A <[email protected]>
1 parent f1b2a09 commit fe4ef14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/pml/ucx/pml_ucx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ mca_pml_ucx_module_t ompi_pml_ucx = {
7272
.pml_mrecv = mca_pml_ucx_mrecv,
7373
.pml_dump = mca_pml_ucx_dump,
7474
.pml_ft_event = NULL,
75-
.pml_max_contextid = 1ul << (PML_UCX_CONTEXT_BITS),
76-
.pml_max_tag = 1ul << (PML_UCX_TAG_BITS - 1)
75+
.pml_max_contextid = (1ul << (PML_UCX_CONTEXT_BITS)) - 1,
76+
.pml_max_tag = (1ul << (PML_UCX_TAG_BITS - 1)) - 1
7777
},
7878
.ucp_context = NULL,
7979
.ucp_worker = NULL

0 commit comments

Comments
 (0)