This source file includes following definitions.
- mca_coll_demo_alltoallw_intra
- mca_coll_demo_alltoallw_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_alltoallw_intra(void *sbuf, int *scounts, int *sdisps,
37 struct ompi_datatype_t **sdtypes,
38 void *rbuf, int *rcounts, int *rdisps,
39 struct ompi_datatype_t **rdtypes,
40 struct ompi_communicator_t *comm,
41 mca_coll_base_module_t *module)
42 {
43 mca_coll_demo_module_t *demo_module = (mca_coll_demo_module_t*) module;
44 opal_output_verbose(10, ompi_coll_base_framework.framework_output, "In demo alltoallw_intra");
45 return demo_module->underlying.coll_alltoallw(sbuf, scounts, sdisps,
46 sdtypes, rbuf, rcounts,
47 rdisps, rdtypes, comm,
48 demo_module->underlying.coll_alltoallw_module);
49 }
50
51
52
53
54
55
56
57
58
59 int mca_coll_demo_alltoallw_inter(void *sbuf, int *scounts, int *sdisps,
60 struct ompi_datatype_t **sdtypes,
61 void *rbuf, int *rcounts, int *rdisps,
62 struct ompi_datatype_t **rdtypes,
63 struct ompi_communicator_t *comm,
64 mca_coll_base_module_t *module)
65 {
66 mca_coll_demo_module_t *demo_module = (mca_coll_demo_module_t*) module;
67 opal_output_verbose(10, ompi_coll_base_framework.framework_output, "In demo alltoallw_inter");
68 return demo_module->underlying.coll_alltoallw(sbuf, scounts, sdisps,
69 sdtypes, rbuf, rcounts,
70 rdisps, rdtypes, comm,
71 demo_module->underlying.coll_alltoallw_module);
72 }