root/ompi/mca/fcoll/dynamic_gen2/fcoll_dynamic_gen2.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2005 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-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2008-2016 University of Houston. All rights reserved.
  13  * Copyright (c) 2015-2018 Research Organization for Information Science
  14  *                         and Technology (RIST). All rights reserved.
  15  * $COPYRIGHT$
  16  *
  17  * Additional copyrights may follow
  18  *
  19  * $HEADER$
  20  */
  21 
  22 #ifndef MCA_FCOLL_DYNAMIC_EXPORT_H
  23 #define MCA_FCOLL_DYNAMIC_EXPORT_H
  24 
  25 #include "ompi_config.h"
  26 
  27 #include "mpi.h"
  28 #include "ompi/mca/mca.h"
  29 #include "ompi/mca/fcoll/fcoll.h"
  30 #include "ompi/mca/fcoll/base/base.h"
  31 #include "ompi/mca/common/ompio/common_ompio.h"
  32 
  33 BEGIN_C_DECLS
  34 
  35 /* Globally exported variables */
  36 
  37 extern int mca_fcoll_dynamic_gen2_priority;
  38 extern int mca_fcoll_dynamic_gen2_num_groups;
  39 extern int mca_fcoll_dynamic_gen2_write_chunksize;
  40 
  41 OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_dynamic_gen2_component;
  42 
  43 /* API functions */
  44 
  45 int mca_fcoll_dynamic_gen2_component_init_query(bool enable_progress_threads,
  46                                            bool enable_mpi_threads);
  47 struct mca_fcoll_base_module_1_0_0_t *
  48 mca_fcoll_dynamic_gen2_component_file_query (ompio_file_t *fh, int *priority);
  49 
  50 int mca_fcoll_dynamic_gen2_component_file_unquery (ompio_file_t *file);
  51 
  52 int mca_fcoll_dynamic_gen2_module_init (ompio_file_t *file);
  53 int mca_fcoll_dynamic_gen2_module_finalize (ompio_file_t *file);
  54 
  55 int mca_fcoll_dynamic_gen2_file_read_all (ompio_file_t *fh,
  56                                      void *buf,
  57                                      int count,
  58                                      struct ompi_datatype_t *datatype,
  59                                      ompi_status_public_t * status);
  60 
  61 
  62 int mca_fcoll_dynamic_gen2_file_write_all (ompio_file_t *fh,
  63                                       const void *buf,
  64                                       int count,
  65                                       struct ompi_datatype_t *datatype,
  66                                       ompi_status_public_t * status);
  67 
  68 
  69 END_C_DECLS
  70 
  71 #endif /* MCA_FCOLL_DYNAMIC_EXPORT_H */

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