1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
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