This source file includes following definitions.
- mca_coll_sync_bcast
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 "mpi.h"
23 #include "coll_sync.h"
24
25
26
27
28
29
30
31
32
33 int mca_coll_sync_bcast(void *buff, int count,
34 struct ompi_datatype_t *datatype, int root,
35 struct ompi_communicator_t *comm,
36 mca_coll_base_module_t *module)
37 {
38 mca_coll_sync_module_t *s = (mca_coll_sync_module_t*) module;
39
40 if (s->in_operation) {
41 return s->c_coll.coll_bcast(buff, count, datatype, root, comm,
42 s->c_coll.coll_bcast_module);
43 }
44 COLL_SYNC(s, s->c_coll.coll_bcast(buff, count, datatype, root, comm,
45 s->c_coll.coll_bcast_module));
46 }