1
1
openmpi/oshmem/runtime/oshmem_shmem_exchange.c
Mike Dubman 92cf175e9e OSHMEM: exchange mxm(ikrit) endpoints via MPI_Allgather, code cleanup, remove unused
Refs trac:3763

This commit was SVN r30089.

The following Trac tickets were found above:
  Ticket 3763 --> https://svn.open-mpi.org/trac/ompi/ticket/3763
2013-12-26 10:53:48 +00:00

31 строка
617 B
C

/*
* Copyright (c) 2013 Mellanox Technologies, Inc.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "oshmem_config.h"
#include "oshmem/constants.h"
#include "oshmem/runtime/runtime.h"
#include "oshmem/runtime/params.h"
int oshmem_shmem_allgather(void *send_buf, void *rcv_buf, int elem_size)
{
int rc;
rc = MPI_Allgather(send_buf, elem_size, MPI_BYTE,
rcv_buf, elem_size, MPI_BYTE, oshmem_comm_world);
return rc;
}
void oshmem_shmem_barrier(void)
{
MPI_Barrier(oshmem_comm_world);
}