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