Skip to content

Commit fd95d78

Browse files
committed
ofi/btl: CHange default support to 1 & 2 sided ops
Historically, the OFI BTL has defaulted to only supporting one-sided operations (ie, the RDMA OSC component). Howard and I can't think of a current Libfabric provider that has a performance difference when in one-sided vs. both one and two-sided mode, so change the default to support both. This allows users who want to use the OB1 PML to specify `-mca pml ob1` without also having to change the default mode in the BTL. Signed-off-by: Brian Barrett <[email protected]>
1 parent 0ff5e81 commit fd95d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/ofi/btl_ofi_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static int mca_btl_ofi_component_register(void)
150150
return OPAL_ERR_OUT_OF_RESOURCE;
151151
}
152152

153-
mca_btl_ofi_component.mode = MCA_BTL_OFI_MODE_ONE_SIDED;
153+
mca_btl_ofi_component.mode = MCA_BTL_OFI_MODE_FULL_SUPPORT;
154154
(void) mca_base_component_var_register(&mca_btl_ofi_component.super.btl_version, "mode", msg,
155155
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, OPAL_INFO_LVL_5,
156156
MCA_BASE_VAR_SCOPE_READONLY,

0 commit comments

Comments
 (0)