Skip to content

Commit c319ccb

Browse files
committed
OPAL/MCA/COMMON/UCX: changed tls var registration, using mca_base_component_var_register instead of mca_base_var_register
1 parent 42e577f commit c319ccb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opal/mca/common/ucx/common_ucx.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ OPAL_DECLSPEC void opal_common_ucx_mca_var_register(const mca_base_component_t *
8383
opal_common_ucx.tls = default_tls;
8484
}
8585

86-
tls_index = mca_base_var_register(
87-
"opal", "opal_common", "ucx", "tls",
86+
tls_index = mca_base_component_var_register(
87+
component, "tls",
8888
"List of UCX transports which should be supported on the system, to enable "
8989
"selecting the UCX component. Special values: any (any available). "
9090
"A '^' prefix negates the list. "
@@ -96,8 +96,8 @@ OPAL_DECLSPEC void opal_common_ucx_mca_var_register(const mca_base_component_t *
9696
if (NULL == opal_common_ucx.devices) {
9797
opal_common_ucx.devices = default_devices;
9898
}
99-
devices_index = mca_base_var_register(
100-
"opal", "opal_common", "ucx", "devices",
99+
devices_index = mca_base_component_var_register(
100+
component, "devices",
101101
"List of device driver pattern names, which, if supported by UCX, will "
102102
"bump its priority above ob1. Special values: any (any available)",
103103
MCA_BASE_VAR_TYPE_STRING, NULL, 0, 0, OPAL_INFO_LVL_3, MCA_BASE_VAR_SCOPE_LOCAL,

0 commit comments

Comments
 (0)