root/ompi/mca/bml/r2/bml_r2.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2006 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-2006 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  * @file
  20  *
  21  * BML Management Layer (BML)
  22  *
  23  */
  24 
  25 #include "ompi_config.h"
  26 #include "ompi/mca/mca.h"
  27 #include "opal/mca/btl/btl.h"
  28 
  29 #ifndef MCA_BML_R2_H
  30 #define MCA_BML_R2_H
  31 
  32 #include "ompi/types.h"
  33 #include "ompi/mca/bml/bml.h"
  34 
  35 BEGIN_C_DECLS
  36 
  37 /**
  38  * BML module interface functions and attributes.
  39  */
  40 struct mca_bml_r2_module_t {
  41     mca_bml_base_module_t super;
  42     size_t num_btl_modules;
  43     mca_btl_base_module_t** btl_modules;
  44     size_t num_btl_progress;
  45     mca_btl_base_component_progress_fn_t * btl_progress;
  46     bool btls_added;
  47     bool show_unreach_errors;
  48 };
  49 
  50 typedef struct mca_bml_r2_module_t mca_bml_r2_module_t;
  51 
  52 OMPI_DECLSPEC extern mca_bml_base_component_2_0_0_t mca_bml_r2_component;
  53 extern mca_bml_r2_module_t mca_bml_r2;
  54 
  55 int mca_bml_r2_component_open(void);
  56 int mca_bml_r2_component_close(void);
  57 
  58 mca_bml_base_module_t* mca_bml_r2_component_init( int* priority,
  59                                                   bool enable_progress_threads,
  60                                                   bool enable_mpi_threads );
  61 
  62 int mca_bml_r2_progress(void);
  63 
  64 int mca_bml_r2_component_fini(void);
  65 
  66 int mca_bml_r2_ft_event(int status);
  67 
  68 int mca_bml_r2_finalize( void );
  69 
  70 END_C_DECLS
  71 
  72 #endif /* OMPI_MCA_BML_R2_H */

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