1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ 2 /* 3 * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved 4 * Copyright (c) 2014-2017 Intel, Inc. All rights reserved. 5 * Copyright (c) 2015-2016 Los Alamos National Security, LLC. All rights 6 * reserved. 7 * Copyright (c) 2017 Research Organization for Information Science 8 * and Technology (RIST). All rights reserved. 9 * 10 * $COPYRIGHT$ 11 * 12 * Additional copyrights may follow 13 * 14 * $HEADER$ 15 * 16 * These symbols are in a file by themselves to provide nice linker 17 * semantics. Since linkers generally pull in symbols by object 18 * files, keeping these symbols as the only symbols in this file 19 * prevents utility programs such as "ompi_info" from having to import 20 * entire components just to query their version and parameters. 21 */ 22 23 #include "opal_config.h" 24 #include "opal/constants.h" 25 26 #include "opal/mca/hwloc/hwloc-internal.h" 27 #include "hwloc201.h" 28 29 /* 30 * Public string showing the sysinfo ompi_linux component version number 31 */ 32 const char *opal_hwloc_hwloc201_component_version_string = 33 "OPAL hwloc201 hwloc MCA component version " OPAL_VERSION; 34 35 /* 36 * Instantiate the public struct with all of our public information 37 * and pointers to our public functions in it 38 */ 39 40 const opal_hwloc_component_t mca_hwloc_hwloc201_component = { 41 42 /* First, the mca_component_t struct containing meta information 43 about the component itself */ 44 45 .base_version = { 46 OPAL_HWLOC_BASE_VERSION_2_0_0, 47 48 /* Component name and version */ 49 .mca_component_name = "hwloc201", 50 MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION, 51 OPAL_RELEASE_VERSION), 52 }, 53 .base_data = { 54 /* The component is checkpoint ready */ 55 MCA_BASE_METADATA_PARAM_CHECKPOINT 56 } 57 };