OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Functions
coll_sm_allreduce.c File Reference
`#include "ompi_config.h"`
`#include "ompi/constants.h"`
`#include "ompi/communicator/communicator.h"`
`#include "coll_sm.h"`

## Functions
int | mca_coll_sm_allreduce_intra (void *sbuf, void *rbuf, int count, struct ompi_datatype_t *dtype, struct ompi_op_t *op, struct ompi_communicator_t *comm, mca_coll_base_module_t *module)
| Shared memory allreduce. More...

## Function Documentation

int mca_coll_sm_allreduce_intra | ( | void * | sbuf,
|  | void * | rbuf,
|  | int | count,
|  | struct ompi_datatype_t * | dtype,
|  | struct ompi_op_t * | op,
|  | struct ompi_communicator_t * | comm,
|  | mca_coll_base_module_t * | module
| ) |  |

Shared memory allreduce.

For the moment, all we're doing is a reduce to root==0 and then a broadcast. It is possible that we'll do something better someday.

References mca_coll_sm_bcast_intra(), and mca_coll_sm_reduce_intra().