Skip to content

Commit 6590e92

Browse files
committed
btl/uct: fix default exclusivity (was too high)
The uct btl should always loose to btl/sm for shared memory peers. This requires that the exclusivity be set below MCA_BTL_EXCLUSIVITY_HIGH (the exclusivity of btl/sm). The uct btl had its exclusivity set to MCA_BTL_EXCLUSIVITY_HIGH which is incorrect. This commit updates the exclusivity to the intended value. Signed-off-by: Nathan Hjelm <hjelmn@google.com>
1 parent ebce398 commit 6590e92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/btl/uct/btl_uct_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
1818
* Copyright (c) 2018-2024 Triad National Security, LLC. All rights
1919
* reserved.
20-
* Copyright (c) 2019-2024 Google, LLC. All rights reserved.
20+
* Copyright (c) 2019-2025 Google, LLC. All rights reserved.
2121
* Copyright (c) 2019 Intel, Inc. All rights reserved.
2222
* Copyright (c) 2022 IBM Corporation. All rights reserved.
2323
* $COPYRIGHT$
@@ -103,7 +103,7 @@ static int mca_btl_uct_component_register(void)
103103
#endif
104104

105105
/* for now we want this component to lose to btl/ugni and btl/vader */
106-
module->super.btl_exclusivity = MCA_BTL_EXCLUSIVITY_HIGH;
106+
module->super.btl_exclusivity = MCA_BTL_EXCLUSIVITY_HIGH - 1;
107107

108108
return mca_btl_base_param_register(&mca_btl_uct_component.super.btl_version, &module->super);
109109
}

0 commit comments

Comments
 (0)