This source file includes following definitions.
- mca_coll_sync_gather
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #include "ompi_config.h"
21
22 #include "coll_sync.h"
23
24
25
26
27
28
29
30
31
32 int mca_coll_sync_gather(const void *sbuf, int scount,
33 struct ompi_datatype_t *sdtype,
34 void *rbuf, int rcount,
35 struct ompi_datatype_t *rdtype,
36 int root, struct ompi_communicator_t *comm,
37 mca_coll_base_module_t *module)
38 {
39 mca_coll_sync_module_t *s = (mca_coll_sync_module_t*) module;
40
41 if (s->in_operation) {
42 return s->c_coll.coll_gather(sbuf, scount, sdtype,
43 rbuf, rcount, rdtype, root, comm,
44 s->c_coll.coll_gather_module);
45 }
46 COLL_SYNC(s, s->c_coll.coll_gather(sbuf, scount, sdtype,
47 rbuf, rcount, rdtype, root, comm,
48 s->c_coll.coll_gather_module));
49 }