root/ompi/mca/vprotocol/example/vprotocol_example_proc.c

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

DEFINITIONS

This source file includes following definitions.
  1. mca_vprotocol_example_add_procs
  2. mca_vprotocol_example_del_procs

   1 /*
   2  * Copyright (c) 2004-2007 The Trustees of the University of Tennessee.
   3  *                         All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9  */
  10 
  11 #include "ompi_config.h"
  12 #include "../pml_v.h"
  13 #include "vprotocol_example.h"
  14 
  15 int mca_vprotocol_example_add_procs(struct ompi_proc_t **procs, size_t nprocs)
  16 {
  17   V_OUTPUT_VERBOSE(30, "adding %ld procs", (long) nprocs);
  18   return mca_pml_v.host_pml.pml_add_procs(procs, nprocs);
  19 }
  20 
  21 int mca_vprotocol_example_del_procs(struct ompi_proc_t **procs, size_t nprocs)
  22 {
  23   V_OUTPUT_VERBOSE(30, "removing %ld procs", (long) nprocs);
  24   return mca_pml_v.host_pml.pml_del_procs(procs, nprocs);
  25 }

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