Skip to content

Commit 9645ce7

Browse files
committed
btl/smcuda: reduce priority
reduce the smcuda priority value to be lower than btl/sm, but higher than btl/tcp. A user can still explicitely request the btl/smcuda component e.g. for GPU use-cases. It doesn't make sense however for btl/smcuda to have a higher priority than btl/sm for non-GPU applications, since it doesn't support single-copy mechanisms (e.g. xpmem). Signed-off-by: Edgar Gabriel <Edgar.Gabriel@amd.com>
1 parent 7b46067 commit 9645ce7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

opal/mca/btl/smcuda/btl_smcuda_component.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ static int smcuda_register(void)
198198

199199
/* Lower priority when CUDA support is not requested */
200200
if (0 != strcmp(opal_accelerator_base_selected_component.base_version.mca_component_name, "null")) {
201-
202-
mca_btl_smcuda.super.btl_exclusivity = MCA_BTL_EXCLUSIVITY_HIGH + 1;
201+
mca_btl_smcuda.super.btl_exclusivity = MCA_BTL_EXCLUSIVITY_DEFAULT;
203202
} else {
204203
mca_btl_smcuda.super.btl_exclusivity = MCA_BTL_EXCLUSIVITY_LOW;
205204
}

0 commit comments

Comments
 (0)