1
1

Merge pull request #1503 from jsquyres/pr/remove-verbs-usage-in-usnic-btl

2 usnic fixes
Этот коммит содержится в:
Jeff Squyres 2016-03-28 14:13:00 -04:00
родитель 1baed498b6 4a3c986a80
Коммит ddc99d2ee5
2 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -9,14 +9,7 @@
#include "opal_config.h"
/* Define this before including hwloc.h so that we also get the hwloc
verbs helper header file, too. We have to do this level of
indirection because the hwloc subsystem is a component -- we don't
know its exact path. We have to rely on the framework header files
to find the right hwloc verbs helper file for us. */
#define OPAL_HWLOC_WANT_VERBS_HELPER 1
#include "opal/mca/hwloc/hwloc.h"
#include "opal/constants.h"
#if BTL_IN_OPAL

Просмотреть файл

@ -2061,6 +2061,7 @@ static int init_mpool(opal_btl_usnic_module_t *module)
mpool_resources.register_mem = usnic_reg_mr;
mpool_resources.deregister_mem = usnic_dereg_mr;
#if RCACHE_VERSION == 30
mpool_resources.cache_name = mca_btl_usnic_component.usnic_rcache_name;
module->rcache =
mca_rcache_base_module_create (mca_btl_usnic_component.usnic_rcache_name,
&module->super, &mpool_resources);