root/ompi/mca/pml/example/pml_example.c

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

DEFINITIONS

This source file includes following definitions.
  1. mca_pml_example_add_comm
  2. mca_pml_example_del_comm
  3. mca_pml_example_add_ptls
  4. mca_pml_example_control
  5. mca_pml_example_add_procs
  6. mca_pml_example_del_procs
  7. mca_pml_example_ft_event

   1 /*
   2  * Copyright (c) 2006-2007 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) 2011      Sandia National Laboratories. All rights reserved.
   9  * $COPYRIGHT$
  10  *
  11  * Additional copyrights may follow
  12  *
  13  * $HEADER$
  14  */
  15 
  16 #include "ompi_config.h"
  17 #include "pml_example.h"
  18 #include "pml_example_recvreq.h"
  19 #include "pml_example_sendreq.h"
  20 
  21 mca_pml_example_t mca_pml_example = {
  22     {
  23         mca_pml_example_add_procs,
  24         mca_pml_example_del_procs,
  25         mca_pml_example_add_ptls,
  26         mca_pml_example_control,
  27         mca_pml_example_progress,
  28         mca_pml_example_add_comm,
  29         mca_pml_example_del_comm,
  30         mca_pml_example_irecv_init,
  31         mca_pml_example_irecv,
  32         mca_pml_example_recv,
  33         mca_pml_example_isend_init,
  34         mca_pml_example_isend,
  35         mca_pml_example_send,
  36         mca_pml_example_iprobe,
  37         mca_pml_example_probe,
  38         mca_pml_example_start,
  39         mca_pml_example_improbe,
  40         mca_pml_example_mprobe,
  41         mca_pml_example_imrecv,
  42         mca_pml_example_mrecv,
  43         mca_pml_example_ft_event,
  44 
  45         32768,
  46         (0x7fffffff)
  47     }
  48 };
  49 
  50 int mca_pml_example_add_comm(ompi_communicator_t* comm)
  51 {
  52     return OMPI_SUCCESS;
  53 }
  54 
  55 int mca_pml_example_del_comm(ompi_communicator_t* comm)
  56 {
  57     return OMPI_SUCCESS;
  58 }
  59 
  60 int mca_pml_example_add_ptls(opal_list_t *ptls)
  61 {
  62     return OMPI_SUCCESS;
  63 }
  64 
  65 int mca_pml_example_control(int param, void* value, size_t size)
  66 {
  67     return OMPI_SUCCESS;
  68 }
  69 
  70 int mca_pml_example_add_procs(ompi_proc_t** procs, size_t nprocs)
  71 {
  72     return OMPI_SUCCESS;
  73 }
  74 
  75 int mca_pml_example_del_procs(ompi_proc_t** procs, size_t nprocs)
  76 {
  77     return OMPI_SUCCESS;
  78 }
  79 
  80 int mca_pml_example_ft_event(int state) {
  81     if(OPAL_CRS_CHECKPOINT == state) {
  82         ;
  83     }
  84     else if(OPAL_CRS_CONTINUE == state) {
  85         ;
  86     }
  87     else if(OPAL_CRS_RESTART == state) {
  88         ;
  89     }
  90     else if(OPAL_CRS_TERM == state ) {
  91         ;
  92     }
  93     else {
  94         ;
  95     }
  96 
  97     return OMPI_SUCCESS;
  98 }

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