31 строка
674 B
C
31 строка
674 B
C
|
/*
|
||
|
* $HEADER$
|
||
|
*/
|
||
|
|
||
|
#include "ompi_config.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "mpi.h"
|
||
|
#include "communicator/communicator.h"
|
||
|
#include "mca/coll/coll.h"
|
||
|
#include "mca/coll/base/base.h"
|
||
|
#include "coll_sm.h"
|
||
|
|
||
|
|
||
|
/*
|
||
|
* gather
|
||
|
*
|
||
|
* Function: - shared memory gather
|
||
|
* Accepts: - same as MPI_Gather()
|
||
|
* Returns: - MPI_SUCCESS or error code
|
||
|
*/
|
||
|
int
|
||
|
mca_coll_sm_gather(void *sbuf, int scount,
|
||
|
struct ompi_datatype_t *sdtype, void *rbuf,
|
||
|
int rcount, struct ompi_datatype_t *rdtype,
|
||
|
int root, struct ompi_communicator_t *comm)
|
||
|
{
|
||
|
return MPI_SUCCESS;
|
||
|
}
|