btl/openib: remove some dead code
remove useless call to opal_mem_hooks_support_level() and the value local variable.
Этот коммит содержится в:
родитель
1b3be0ac8c
Коммит
91ccec342c
@ -2521,7 +2521,7 @@ btl_openib_component_init(int *num_btl_modules,
|
||||
mca_btl_openib_frag_init_data_t *init_data;
|
||||
struct dev_distance *dev_sorted;
|
||||
float distance;
|
||||
int index, value;
|
||||
int index;
|
||||
bool found;
|
||||
mca_base_var_source_t source;
|
||||
int list_count = 0;
|
||||
@ -2887,13 +2887,6 @@ btl_openib_component_init(int *num_btl_modules,
|
||||
mca_btl_openib_component.if_exclude_list = NULL;
|
||||
}
|
||||
|
||||
/* If we are using ptmalloc2 and there are no posix threads
|
||||
available, this will cause memory corruption. Refuse to run.
|
||||
Right now, ptmalloc2 is the only memory manager that we have on
|
||||
OS's that support OpenFabrics that provide both FREE and MUNMAP
|
||||
support, so the following test is [currently] good enough... */
|
||||
value = opal_mem_hooks_support_level();
|
||||
|
||||
#if OPAL_CUDA_SUPPORT
|
||||
if (mca_btl_openib_component.cuda_want_gdr && (0 == opal_leave_pinned)) {
|
||||
opal_show_help("help-mpi-btl-openib.txt",
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user