Merge pull request #1891 from ggouaillardet/topic/openib_exp_atomic_cap
configury + btl/openib: fix a typo
Этот коммит содержится в:
Коммит
95dead0151
@ -17,7 +17,7 @@
|
||||
# Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
|
||||
# Copyright (c) 2014 Bull SAS. All rights reserved.
|
||||
# Copyright (c) 2014-2015 Research Organization for Information Science
|
||||
# Copyright (c) 2014-2016 Research Organization for Information Science
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
@ -412,7 +412,7 @@ AC_DEFUN([OPAL_CHECK_EXP_VERBS],[
|
||||
AC_DEFINE_UNQUOTED([HAVE_EXP_VERBS], [$have_struct_ibv_exp_send_wr], [Experimental verbs])
|
||||
AC_CHECK_DECLS([IBV_EXP_ATOMIC_HCA_REPLY_BE, IBV_EXP_QP_CREATE_ATOMIC_BE_REPLY, ibv_exp_create_qp, ibv_exp_query_device, IBV_EXP_QP_INIT_ATTR_ATOMICS_ARG],
|
||||
[], [], [#include <infiniband/verbs_exp.h>])
|
||||
AC_CHECK_MEMBERS([struct ibv_exp_device_attr.ext_atom, struct ibv_exp_device_attr.ext_atomic_cap], [], [],
|
||||
AC_CHECK_MEMBERS([struct ibv_exp_device_attr.ext_atom, struct ibv_exp_device_attr.exp_atomic_cap], [], [],
|
||||
[[#include <infiniband/verbs_exp.h>]])
|
||||
AS_IF([test '$have_struct_ibv_exp_send_wr' = 1], [$1], [$2])
|
||||
OPAL_VAR_SCOPE_POP
|
||||
|
@ -793,7 +793,7 @@ static int init_one_port(opal_list_t *btl_list, mca_btl_openib_device_t *device,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRUCT_IBV_EXP_DEVICE_ATTR_EXT_ATOMIC_CAP
|
||||
#ifdef HAVE_STRUCT_IBV_EXP_DEVICE_ATTR_EXP_ATOMIC_CAP
|
||||
switch (openib_btl->device->ib_exp_dev_attr.exp_atomic_cap)
|
||||
#else
|
||||
switch (openib_btl->device->ib_dev_attr.atomic_cap)
|
||||
@ -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