root/ompi/mca/coll/self/coll_self_bcast.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. mca_coll_self_bcast_intra

   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * $COPYRIGHT$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 #include "ompi_config.h"
  20 
  21 #include "ompi/constants.h"
  22 #include "ompi/datatype/ompi_datatype.h"
  23 #include "coll_self.h"
  24 
  25 
  26 /*
  27  *      bcast_lin_intra
  28  *
  29  *      Function:       - broadcast
  30  *      Accepts:        - same arguments as MPI_Bcast()
  31  *      Returns:        - MPI_SUCCESS
  32  */
  33 int mca_coll_self_bcast_intra(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     /* Since there's only one process, there's nothing to do */
  39 
  40     return MPI_SUCCESS;
  41 }

/* [<][>][^][v][top][bottom][index][help] */