This source file includes following definitions.
- treematch_module_constructor
- treematch_module_destructor
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #include "ompi_config.h"
15
16 #include <stdio.h>
17
18 #include "mpi.h"
19 #include "ompi/communicator/communicator.h"
20 #include "ompi/mca/topo/topo.h"
21 #include "ompi/mca/topo/base/base.h"
22 #include "ompi/mca/topo/treematch/topo_treematch.h"
23
24
25
26
27 static void treematch_module_constructor(mca_topo_treematch_module_t *u);
28 static void treematch_module_destructor(mca_topo_treematch_module_t *u);
29
30 OBJ_CLASS_INSTANCE(mca_topo_treematch_module_t, mca_topo_base_module_t,
31 treematch_module_constructor, treematch_module_destructor);
32
33
34 static void treematch_module_constructor(mca_topo_treematch_module_t *u)
35 {
36 mca_topo_base_module_t *m = &(u->super);
37
38 memset(&m->topo, 0, sizeof(m->topo));
39 }
40
41
42 static void treematch_module_destructor(mca_topo_treematch_module_t *u)
43 {
44
45 }