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

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

DEFINITIONS

This source file includes following definitions.
  1. mca_vprotocol_example_dump

   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 "vprotocol_example.h"
  13 
  14 mca_vprotocol_example_module_t mca_vprotocol_example =
  15 {
  16   {
  17     /* mca_pml_base_module_add_procs_fn_t     */ mca_vprotocol_example_add_procs,
  18     /* mca_pml_base_module_del_procs_fn_t     */ mca_vprotocol_example_del_procs,
  19     /* mca_pml_base_module_enable_fn_t        */ mca_vprotocol_example_enable,
  20     /* mca_pml_base_module_progress_fn_t      */ mca_vprotocol_example_progress,
  21 
  22     /* mca_pml_base_module_add_comm_fn_t      */ mca_vprotocol_example_add_comm,
  23     /* mca_pml_base_module_del_comm_fn_t      */ mca_vprotocol_example_del_comm,
  24     /* mca_pml_base_module_irecv_init_fn_t    */ mca_vprotocol_example_irecv_init,
  25     /* mca_pml_base_module_irecv_fn_t         */ mca_vprotocol_example_irecv,
  26     /* mca_pml_base_module_recv_fn_t          */ mca_vprotocol_example_recv,
  27     /* mca_pml_base_module_isend_init_fn_t    */ mca_vprotocol_example_isend_init,
  28     /* mca_pml_base_module_isend_fn_t         */ mca_vprotocol_example_isend,
  29     /* mca_pml_base_module_send_fn_t          */ mca_vprotocol_example_send,
  30     /* mca_pml_base_module_iprobe_fn_t        */ mca_vprotocol_example_iprobe,
  31     /* mca_pml_base_module_probe_fn_t         */ mca_vprotocol_example_probe,
  32     /* mca_pml_base_module_start_fn_t         */ mca_vprotocol_example_start,
  33 
  34     /* mca_pml_base_module_dump_fn_t          */ mca_vprotocol_example_dump,
  35 
  36     /* opal_class_t *                         */ NULL,
  37   },
  38 /**
  39   * Insert here your own protocol structures
  40   */
  41 };
  42 
  43 OMPI_DECLSPEC int mca_vprotocol_example_dump(struct ompi_communicator_t* comm, int verbose)
  44 {
  45   V_OUTPUT("vprotocol_example dump for comm %d", comm->c_contextid);
  46   return mca_pml_v.host_pml.pml_dump(comm, verbose);
  47 }
  48 

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