This source file includes following definitions.
- mca_coll_demo_bcast_intra
- mca_coll_demo_bcast_inter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #include "ompi_config.h"
20 #include "opal/util/output.h"
21
22 #include "mpi.h"
23 #include "ompi/constants.h"
24 #include "ompi/mca/coll/coll.h"
25 #include "ompi/mca/coll/base/base.h"
26 #include "coll_demo.h"
27
28
29
30
31
32
33
34
35
36 int mca_coll_demo_bcast_intra(void *buff, int count,
37 struct ompi_datatype_t *datatype, int root,
38 struct ompi_communicator_t *comm,
39 mca_coll_base_module_t *module)
40 {
41 mca_coll_demo_module_t *demo_module = (mca_coll_demo_module_t*) module;
42 opal_output_verbose(10, ompi_coll_base_framework.framework_output, "In demo bcast_intra");
43 return demo_module->underlying.coll_bcast(buff, count, datatype,
44 root, comm,
45 demo_module->underlying.coll_bcast_module);
46 }
47
48
49
50
51
52
53
54
55
56 int mca_coll_demo_bcast_inter(void *buff, int count,
57 struct ompi_datatype_t *datatype, int root,
58 struct ompi_communicator_t *comm,
59 mca_coll_base_module_t *module)
60 {
61 mca_coll_demo_module_t *demo_module = (mca_coll_demo_module_t*) module;
62 opal_output_verbose(10, ompi_coll_base_framework.framework_output, "In demo bcast_inter");
63 return demo_module->underlying.coll_bcast(buff, count, datatype,
64 root, comm,
65 demo_module->underlying.coll_bcast_module);
66 }