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 16
16
#include "opal/memoryhooks/memory.h"
17
17
18
18
#include <ucm/api/ucm.h>
19
- #include <ucs/sys/math.h>
20
19
21
20
/***********************************************************************/
22
21
@@ -102,8 +101,9 @@ OPAL_DECLSPEC void opal_common_ucx_mca_register(void)
102
101
return ;
103
102
}
104
103
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 ())) {
107
107
MCA_COMMON_UCX_VERBOSE (1 , "%s" , "using OPAL memory hooks as external events" );
108
108
ucm_set_external_event (UCM_EVENT_VM_UNMAPPED );
109
109
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 *
194
194
void * dreq , * * dreqs ;
195
195
size_t i ;
196
196
size_t n ;
197
- int ret = OPAL_SUCCESS ;
198
197
199
198
MCA_COMMON_UCX_ASSERT (procs || !count );
200
199
MCA_COMMON_UCX_ASSERT (max_disconnect > 0 );
You can’t perform that action at this time.
0 commit comments