OpenMPI  0.1.1
paffinity_hwloc.h
1 /*
2  * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * Copyright (c) 2006-2011 Cisco Systems, Inc. All rights reserved.
13  *
14  * $COPYRIGHT$
15  *
16  * Additional copyrights may follow
17  *
18  * $HEADER$
19  */
20 
21 #ifndef MCA_PAFFINITY_HWLOC_EXPORT_H
22 #define MCA_PAFFINITY_HWLOC_EXPORT_H
23 
24 #include "opal_config.h"
25 
26 #include "opal/mca/mca.h"
28 #include "hwloc.h"
29 
30 
31 BEGIN_C_DECLS
32 
33 /**
34  * Globally exported variable
35  */
36 OPAL_DECLSPEC extern opal_paffinity_base_component_t
37  mca_paffinity_hwloc_component;
38 
39 /**
40  * paffinity query API function
41  *
42  * Query function for paffinity components. Simply returns a priority
43  * to rank it against other available paffinity components (assumedly,
44  * only one component will be available per platform, but it's
45  * possible that there could be more than one available).
46  */
47 int opal_paffinity_hwloc_component_query(mca_base_module_t **module,
48  int *priority);
49 
50 END_C_DECLS
51 
52 #endif /* MCA_PAFFINITY_HWLOC_EXPORT_H */
Common type for all MCA modules.
Definition: mca.h:100
Top-level interface for all MCA components.
paffinity (processor affinity) framework component interface definitions.
Structure for paffinity components.
Definition: paffinity.h:351