OpenMPI  0.1.1
pml_base_bsend.h
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$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 
19 #ifndef _MCA_PML_BASE_BSEND_H_
20 #define _MCA_PML_BASE_BSEND_H_
21 
22 #include "ompi_config.h"
23 #include "ompi/mca/pml/pml.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 END_C_DECLS
41 
42 #endif
43 
P2P Management Layer (PML)
Top-level description of requests.
Main top-level request struct definition.
Definition: request.h:100