Skip to content

Commit 62f6be4

Browse files
author
Sergey Oblomov
committed
OPAL/COMMON/UCX: enable OPAL memory hooks by default
- enable OPAL memory hooks by default to provide compatibility with other transports Signed-off-by: Sergey Oblomov <[email protected]>
1 parent de4fe77 commit 62f6be4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contrib/platform/mellanox/optimized.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ hwloc_base_binding_policy = core
6363
btl = self
6464
pml_ucx_tls = any
6565
pml_ucx_devices = any
66+
opal_common_ucx_opal_mem_hooks = 0
6667
# Basic behavior to smooth startup
6768
mca_base_component_show_load_errors = 0
6869
orte_abort_timeout = 10

opal/mca/common/ucx/common_ucx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ extern mca_base_framework_t opal_memory_base_framework;
3535
opal_common_ucx_module_t opal_common_ucx = {.verbose = 0,
3636
.progress_iterations = 100,
3737
.registered = 0,
38-
.opal_mem_hooks = 0,
38+
.opal_mem_hooks = 1,
3939
.tls = NULL};
4040

4141
static opal_mutex_t opal_common_ucx_mutex = OPAL_MUTEX_STATIC_INIT;

0 commit comments

Comments
 (0)