From fe4ef147f81b2ac56661175005de6c330eace690 Mon Sep 17 00:00:00 2001 From: "Nysal Jan K.A" Date: Wed, 3 Jul 2019 14:33:01 +0530 Subject: [PATCH] pml/ucx: Fix the max tag and context id values Signed-off-by: Nysal Jan K.A --- ompi/mca/pml/ucx/pml_ucx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/pml/ucx/pml_ucx.c b/ompi/mca/pml/ucx/pml_ucx.c index a83ade73d0..db6a9fa56d 100644 --- a/ompi/mca/pml/ucx/pml_ucx.c +++ b/ompi/mca/pml/ucx/pml_ucx.c @@ -72,8 +72,8 @@ mca_pml_ucx_module_t ompi_pml_ucx = { .pml_mrecv = mca_pml_ucx_mrecv, .pml_dump = mca_pml_ucx_dump, .pml_ft_event = NULL, - .pml_max_contextid = 1ul << (PML_UCX_CONTEXT_BITS), - .pml_max_tag = 1ul << (PML_UCX_TAG_BITS - 1) + .pml_max_contextid = (1ul << (PML_UCX_CONTEXT_BITS)) - 1, + .pml_max_tag = (1ul << (PML_UCX_TAG_BITS - 1)) - 1 }, .ucp_context = NULL, .ucp_worker = NULL