root/ompi/mca/fcoll/base/base.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-2005 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      Cisco Systems, Inc.  All rights reserved.
  13  * Copyright (c) 2008-2011 University of Houston. All rights reserved.
  14  * Copyright (c) 2017      IBM Corporation. All rights reserved.
  15  * Copyright (c) 2018      Research Organization for Information Science
  16  *                         and Technology (RIST). All rights reserved.
  17  * $COPYRIGHT$
  18  *
  19  * Additional copyrights may follow
  20  *
  21  * $HEADER$
  22  */
  23 
  24 /**
  25  * @file
  26  *
  27  * MCA fcoll base framework public interface functions.
  28  */
  29 
  30 #ifndef MCA_FCOLL_BASE_H
  31 #define MCA_FCOLL_BASE_H
  32 
  33 #include "ompi_config.h"
  34 
  35 #include "mpi.h"
  36 #include "opal/mca/base/base.h"
  37 #include "ompi/mca/common/ompio/common_ompio.h"
  38 #include "ompi/mca/fcoll/fcoll.h"
  39 
  40 BEGIN_C_DECLS
  41 
  42 OMPI_DECLSPEC int mca_fcoll_base_file_select(struct ompio_file_t *file,
  43                                              mca_base_component_t *preferred);
  44 OMPI_DECLSPEC int mca_fcoll_base_query_table (struct ompio_file_t *file,
  45                                               char *name);
  46 OMPI_DECLSPEC int mca_fcoll_base_file_unselect(struct ompio_file_t *file);
  47 
  48 OMPI_DECLSPEC int mca_fcoll_base_find_available(bool enable_progress_threads,
  49                                                 bool enable_mpi_threads);
  50 
  51 OMPI_DECLSPEC int mca_fcoll_base_init_file (struct ompio_file_t *file);
  52 
  53 OMPI_DECLSPEC int mca_fcoll_base_get_param (struct ompio_file_t *file, int keyval);
  54 OMPI_DECLSPEC int ompi_fcoll_base_sort_iovec (struct iovec *iov, int num_entries, int *sorted);
  55 
  56 OMPI_DECLSPEC mca_fcoll_base_component_t* mca_fcoll_base_component_lookup(const char* name);
  57 
  58 /*
  59  * Globals
  60  */
  61 OMPI_DECLSPEC extern mca_base_framework_t ompi_fcoll_base_framework;
  62 
  63 END_C_DECLS
  64 
  65 #endif /* MCA_BASE_FCOLL_H */

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