root/ompi/mca/pml/base/pml_base_bsend.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) 2017      IBM Corporation.  All rights reserved.
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 #ifndef _MCA_PML_BASE_BSEND_H_
  21 #define _MCA_PML_BASE_BSEND_H_
  22 
  23 #include "ompi_config.h"
  24 #include "ompi/request/request.h"
  25 
  26 BEGIN_C_DECLS
  27 
  28 OMPI_DECLSPEC int mca_pml_base_bsend_init(bool enable_mpi_threads);
  29 OMPI_DECLSPEC int mca_pml_base_bsend_fini(void);
  30 
  31 int mca_pml_base_bsend_attach(void* addr, int size);
  32 int mca_pml_base_bsend_detach(void* addr, int* size);
  33 
  34 OMPI_DECLSPEC int mca_pml_base_bsend_request_alloc(ompi_request_t*);
  35 OMPI_DECLSPEC int mca_pml_base_bsend_request_start(ompi_request_t*);
  36 OMPI_DECLSPEC int mca_pml_base_bsend_request_fini(ompi_request_t*);
  37 OMPI_DECLSPEC void*  mca_pml_base_bsend_request_alloc_buf( size_t length );
  38 OMPI_DECLSPEC int mca_pml_base_bsend_request_free(void* addr);
  39 
  40 extern unsigned char   *mca_pml_bsend_userbase;   /* user provided buffer base */
  41 extern unsigned char   *mca_pml_bsend_base;       /* adjusted base of user buffer */
  42 extern unsigned char   *mca_pml_bsend_addr;       /* current offset into user buffer */
  43 
  44 END_C_DECLS
  45 
  46 #endif
  47 

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