2015-06-04 15:35:56 -07:00
|
|
|
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
|
|
|
/*
|
2017-02-10 04:48:43 -08:00
|
|
|
* Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved
|
2017-06-21 21:10:35 -07:00
|
|
|
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
|
2016-01-07 12:33:12 -07:00
|
|
|
* Copyright (c) 2015-2016 Los Alamos National Security, LLC. All rights
|
2015-06-04 15:35:56 -07:00
|
|
|
* reserved.
|
2017-03-31 13:32:42 +09:00
|
|
|
* Copyright (c) 2017 Research Organization for Information Science
|
|
|
|
* and Technology (RIST). All rights reserved.
|
2015-06-04 15:35:56 -07:00
|
|
|
*
|
|
|
|
* $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2015-06-04 15:35:56 -07:00
|
|
|
* Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2015-06-04 15:35:56 -07:00
|
|
|
* $HEADER$
|
|
|
|
*
|
|
|
|
* These symbols are in a file by themselves to provide nice linker
|
|
|
|
* semantics. Since linkers generally pull in symbols by object
|
|
|
|
* files, keeping these symbols as the only symbols in this file
|
|
|
|
* prevents utility programs such as "ompi_info" from having to import
|
|
|
|
* entire components just to query their version and parameters.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "opal_config.h"
|
|
|
|
#include "opal/constants.h"
|
|
|
|
|
2017-02-10 04:48:43 -08:00
|
|
|
#include "opal/mca/hwloc/hwloc-internal.h"
|
2017-06-21 21:10:35 -07:00
|
|
|
#include "hwloc2a.h"
|
2015-06-04 15:35:56 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Public string showing the sysinfo ompi_linux component version number
|
|
|
|
*/
|
2017-06-21 21:10:35 -07:00
|
|
|
const char *opal_hwloc_hwloc2a_component_version_string =
|
|
|
|
"OPAL hwloc2a hwloc MCA component version " OPAL_VERSION;
|
2015-06-04 15:35:56 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Instantiate the public struct with all of our public information
|
|
|
|
* and pointers to our public functions in it
|
|
|
|
*/
|
|
|
|
|
2017-06-21 21:10:35 -07:00
|
|
|
const opal_hwloc_component_t mca_hwloc_hwloc2a_component = {
|
2015-06-04 15:35:56 -07:00
|
|
|
|
|
|
|
/* First, the mca_component_t struct containing meta information
|
|
|
|
about the component itself */
|
|
|
|
|
|
|
|
.base_version = {
|
|
|
|
OPAL_HWLOC_BASE_VERSION_2_0_0,
|
|
|
|
|
|
|
|
/* Component name and version */
|
2017-06-21 21:10:35 -07:00
|
|
|
.mca_component_name = "hwloc2a",
|
2015-06-04 15:35:56 -07:00
|
|
|
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
|
|
|
|
OPAL_RELEASE_VERSION),
|
|
|
|
},
|
|
|
|
.base_data = {
|
|
|
|
/* The component is checkpoint ready */
|
|
|
|
MCA_BASE_METADATA_PARAM_CHECKPOINT
|
|
|
|
}
|
|
|
|
};
|