9d4a26f47d
Notes: - This commit also eliminates the need for an available components list in use in several frameworks. None of the code in question was making use of the priority field of the priority component list item so these extra lists were removed. - Cleaned up selection code in several frameworks to sort lists using opal_list_sort. - Cleans up the ompi/orte-info functions. Expose the functions that construct the list of params so they can be used elsewhere. patches for mtl/portals4 from brian missed a few output variables in openib This commit was SVN r28241.
49 строки
1.2 KiB
C
49 строки
1.2 KiB
C
/*
|
|
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
|
|
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
|
|
* Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#ifndef MCA_SBGP_BASE_H
|
|
#define MCA_SBGP_BASE_H
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "opal/mca/mca.h"
|
|
#include "opal/mca/base/mca_base_framework.h"
|
|
/*
|
|
* Global functions for SBGP
|
|
*/
|
|
|
|
/* components in use */
|
|
OMPI_MODULE_DECLSPEC extern opal_list_t mca_sbgp_base_components_in_use;
|
|
OMPI_MODULE_DECLSPEC extern int mca_sbgp_base_components_in_use_inited;
|
|
OMPI_DECLSPEC extern char *ompi_sbgp_subgroups_string;
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
/*
|
|
* MCA Framework
|
|
*/
|
|
OMPI_DECLSPEC extern mca_base_framework_t ompi_sbgp_base_framework;
|
|
|
|
/* select a component */
|
|
OMPI_DECLSPEC int mca_sbgp_base_init(bool, bool);
|
|
|
|
/* subgrouping component and key value */
|
|
struct sbgp_base_component_keyval_t {
|
|
mca_base_component_list_item_t component;
|
|
char *key_value;
|
|
};
|
|
typedef struct sbgp_base_component_keyval_t sbgp_base_component_keyval_t;
|
|
OBJ_CLASS_DECLARATION(sbgp_base_component_keyval_t);
|
|
|
|
END_C_DECLS
|
|
|
|
#endif /* MCA_SBGP_BASE_H */
|