b68d66bb9b
This commit adds support for project_framework_component_* parameter matching. This is the first step in allowing the same framework name in multiple projects. This change also bumps the MCA component version to 2.1.0. All master frameworks have been updated to use the new component versioning macro. An mca.h has been added to each project to add a project specific versioning macro of the form PROJECT_MCA_VERSION_2_1_0. Signed-off-by: Nathan Hjelm <hjelmn@me.com>
43 строки
1.2 KiB
C
43 строки
1.2 KiB
C
/*
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
* University Research and Technology
|
|
* Corporation. All rights reserved.
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
* of Tennessee Research Foundation. All rights
|
|
* reserved.
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
* University of Stuttgart. All rights reserved.
|
|
* Copyright (c) 2004-2006 The Regents of the University of California.
|
|
* All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#ifndef MCA_MTL_BASE_H
|
|
#define MCA_MTL_BASE_H
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "ompi/mca/mca.h"
|
|
#include "ompi/mca/mtl/mtl.h"
|
|
|
|
|
|
/*
|
|
* Global functions for the MTL
|
|
*/
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
OMPI_DECLSPEC extern mca_mtl_base_component_t* ompi_mtl_base_selected_component;
|
|
|
|
OMPI_DECLSPEC int ompi_mtl_base_select(bool enable_progress_threads,
|
|
bool enable_mpi_threads);
|
|
|
|
OMPI_DECLSPEC extern mca_base_framework_t ompi_mtl_base_framework;
|
|
|
|
END_C_DECLS
|
|
#endif /* MCA_MTL_BASE_H */
|