Skip to content

Commit 47d12c3

Browse files
authored
Merge pull request #9946 from hoopoepg/topic/ucx-fallback-to-opal-hooks
OPAL/COMMON/UCX: added fallback to OPAL memory hooks
2 parents 34685a2 + 62f6be4 commit 47d12c3

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
@@ -36,7 +36,7 @@ extern mca_base_framework_t opal_memory_base_framework;
3636
opal_common_ucx_module_t opal_common_ucx = {.verbose = 0,
3737
.progress_iterations = 100,
3838
.registered = 0,
39-
.opal_mem_hooks = 0,
39+
.opal_mem_hooks = 1,
4040
.tls = NULL};
4141

4242
static opal_mutex_t opal_common_ucx_mutex = OPAL_MUTEX_STATIC_INIT;

0 commit comments

Comments
 (0)