File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1616#include "opal/memoryhooks/memory.h"
1717
1818#include <ucm/api/ucm.h>
19- #include <ucs/sys/math.h>
2019
2120/***********************************************************************/
2221
@@ -102,8 +101,9 @@ OPAL_DECLSPEC void opal_common_ucx_mca_register(void)
102101 return ;
103102 }
104103
105- if (ucs_test_all_flags (opal_mem_hooks_support_level (),
106- OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT )) {
104+ if ((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT ) ==
105+ ((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT ) &
106+ opal_mem_hooks_support_level ())) {
107107 MCA_COMMON_UCX_VERBOSE (1 , "%s" , "using OPAL memory hooks as external events" );
108108 ucm_set_external_event (UCM_EVENT_VM_UNMAPPED );
109109 opal_mem_hooks_register_release (opal_common_ucx_mem_release_cb , NULL );
@@ -194,7 +194,6 @@ OPAL_DECLSPEC int opal_common_ucx_del_procs_nofence(opal_common_ucx_del_proc_t *
194194 void * dreq , * * dreqs ;
195195 size_t i ;
196196 size_t n ;
197- int ret = OPAL_SUCCESS ;
198197
199198 MCA_COMMON_UCX_ASSERT (procs || !count );
200199 MCA_COMMON_UCX_ASSERT (max_disconnect > 0 );
You can’t perform that action at this time.
0 commit comments