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

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

DEFINITIONS

This source file includes following definitions.
  1. mca_vprotocol_example_isend_init
  2. mca_vprotocol_example_isend
  3. mca_vprotocol_example_send

   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_isend_init(void *addr,
  16                       size_t count,
  17                       struct ompi_datatype_t *datatype,
  18                       int dst,
  19                       int tag,
  20                       mca_pml_base_send_mode_t sendmode,
  21                       struct ompi_communicator_t* comm,
  22                       struct ompi_request_t **request )
  23 {
  24   V_OUTPUT_VERBOSE(50, "request\tpisend \tcomm %d\tto %d\ttag %d\tsize %ld", comm->c_contextid, dst, tag, (long) count);
  25   return mca_pml_v.host_pml.pml_isend_init(addr, count, datatype, dst, tag, sendmode, comm, request);
  26 }
  27 
  28 int mca_vprotocol_example_isend(void *addr,
  29                      size_t count,
  30                      ompi_datatype_t * datatype,
  31                      int dst,
  32                      int tag,
  33                      mca_pml_base_send_mode_t sendmode,
  34                      struct ompi_communicator_t *comm,
  35                      struct ompi_request_t **request)
  36 {
  37   V_OUTPUT_VERBOSE(50, "request\tisend \tcomm %d\tto %d\ttag %d\tsize %ld", comm->c_contextid, dst, tag, (long) count);
  38   return mca_pml_v.host_pml.pml_isend(addr, count, datatype, dst, tag, sendmode, comm, request);
  39 }
  40 
  41 int mca_vprotocol_example_send(void *addr,
  42                       size_t count,
  43                       ompi_datatype_t * datatype,
  44                       int dst,
  45                       int tag,
  46                       mca_pml_base_send_mode_t sendmode,
  47                       struct ompi_communicator_t *comm)
  48 {
  49   V_OUTPUT_VERBOSE(50, "request\tsend \tcomm %d\tto %d\ttag %d\tsize %ld", comm->c_contextid, dst, tag, (long) count);
  50   return mca_pml_v.host_pml.pml_send(addr, count, datatype, dst, tag, sendmode, comm);
  51 }

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