@@ -20,82 +20,45 @@ typedef struct ompi_coll_adapt_algorithm_index_s {
20
20
} ompi_coll_adapt_algorithm_index_t ;
21
21
22
22
/* Bcast */
23
- int ompi_coll_adapt_ibcast_init (void );
23
+ int ompi_coll_adapt_ibcast_register (void );
24
24
int ompi_coll_adapt_ibcast_fini (void );
25
- int ompi_coll_adapt_bcast (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
26
- struct ompi_communicator_t * comm , mca_coll_base_module_t * module );
27
- int ompi_coll_adapt_ibcast (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
28
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
29
- mca_coll_base_module_t * module );
30
- int ompi_coll_adapt_ibcast_generic (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
31
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
32
- mca_coll_base_module_t * module , ompi_coll_tree_t * tree ,
33
- size_t seg_size , int ibcast_tag );
34
- int ompi_coll_adapt_ibcast_binomial (void * buff , int count , struct ompi_datatype_t * datatype ,
35
- int root , struct ompi_communicator_t * comm ,
36
- ompi_request_t * * request , mca_coll_base_module_t * module ,
37
- int ibcast_tag );
38
- int ompi_coll_adapt_ibcast_in_order_binomial (void * buff , int count , struct ompi_datatype_t * datatype ,
39
- int root , struct ompi_communicator_t * comm ,
40
- ompi_request_t * * request ,
41
- mca_coll_base_module_t * module , int ibcast_tag );
42
- int ompi_coll_adapt_ibcast_binary (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
43
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
44
- mca_coll_base_module_t * module , int ibcast_tag );
45
- int ompi_coll_adapt_ibcast_pipeline (void * buff , int count , struct ompi_datatype_t * datatype ,
46
- int root , struct ompi_communicator_t * comm ,
47
- ompi_request_t * * request , mca_coll_base_module_t * module ,
48
- int ibcast_tag );
49
- int ompi_coll_adapt_ibcast_chain (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
50
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
51
- mca_coll_base_module_t * module , int ibcast_tag );
52
- int ompi_coll_adapt_ibcast_linear (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
53
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
54
- mca_coll_base_module_t * module , int ibcast_tag );
55
- int ompi_coll_adapt_ibcast_tuned (void * buff , int count , struct ompi_datatype_t * datatype , int root ,
56
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
57
- mca_coll_base_module_t * module , int ibcast_tag );
25
+ int ompi_coll_adapt_bcast (BCAST_ARGS );
26
+ int ompi_coll_adapt_ibcast (IBCAST_ARGS );
27
+ int ompi_coll_adapt_ibcast_generic (IBCAST_ARGS ,
28
+ ompi_coll_tree_t * tree , size_t seg_size , int ibcast_tag );
29
+ int ompi_coll_adapt_ibcast_binomial (IBCAST_ARGS ,
30
+ int ibcast_tag );
31
+ int ompi_coll_adapt_ibcast_in_order_binomial (IBCAST_ARGS ,
32
+ int ibcast_tag );
33
+ int ompi_coll_adapt_ibcast_binary (IBCAST_ARGS ,
34
+ int ibcast_tag );
35
+ int ompi_coll_adapt_ibcast_pipeline (IBCAST_ARGS ,
36
+ int ibcast_tag );
37
+ int ompi_coll_adapt_ibcast_chain (IBCAST_ARGS ,
38
+ int ibcast_tag );
39
+ int ompi_coll_adapt_ibcast_linear (IBCAST_ARGS ,
40
+ int ibcast_tag );
41
+ int ompi_coll_adapt_ibcast_tuned (IBCAST_ARGS ,
42
+ int ibcast_tag );
58
43
59
44
/* Reduce */
60
- int ompi_coll_adapt_ireduce_init (void );
45
+ int ompi_coll_adapt_ireduce_register (void );
61
46
int ompi_coll_adapt_ireduce_fini (void );
62
- int ompi_coll_adapt_reduce (const void * sbuf , void * rbuf , int count , struct ompi_datatype_t * dtype ,
63
- struct ompi_op_t * op , int root , struct ompi_communicator_t * comm ,
64
- mca_coll_base_module_t * module );
65
- int ompi_coll_adapt_ireduce (const void * sbuf , void * rbuf , int count , struct ompi_datatype_t * dtype ,
66
- struct ompi_op_t * op , int root , struct ompi_communicator_t * comm ,
67
- ompi_request_t * * request , mca_coll_base_module_t * module );
68
- int ompi_coll_adapt_ireduce_generic (const void * sbuf , void * rbuf , int count ,
69
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
70
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
71
- mca_coll_base_module_t * module , ompi_coll_tree_t * tree ,
72
- size_t seg_size , int ireduce_tag );
73
- int ompi_coll_adapt_ireduce_tuned (const void * sbuf , void * rbuf , int count ,
74
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
75
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
76
- mca_coll_base_module_t * module , int ireduce_tag );
77
- int ompi_coll_adapt_ireduce_binomial (const void * sbuf , void * rbuf , int count ,
78
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
79
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
80
- mca_coll_base_module_t * module , int ireduce_tag );
81
- int ompi_coll_adapt_ireduce_in_order_binomial (const void * sbuf , void * rbuf , int count ,
82
- struct ompi_datatype_t * dtype , struct ompi_op_t * op ,
83
- int root , struct ompi_communicator_t * comm ,
84
- ompi_request_t * * request ,
85
- mca_coll_base_module_t * module , int ireduce_tag );
86
- int ompi_coll_adapt_ireduce_binary (const void * sbuf , void * rbuf , int count ,
87
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
88
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
89
- mca_coll_base_module_t * module , int ireduce_tag );
90
- int ompi_coll_adapt_ireduce_pipeline (const void * sbuf , void * rbuf , int count ,
91
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
92
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
93
- mca_coll_base_module_t * module , int ireduce_tag );
94
- int ompi_coll_adapt_ireduce_chain (const void * sbuf , void * rbuf , int count ,
95
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
96
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
97
- mca_coll_base_module_t * module , int ireduce_tag );
98
- int ompi_coll_adapt_ireduce_linear (const void * sbuf , void * rbuf , int count ,
99
- struct ompi_datatype_t * dtype , struct ompi_op_t * op , int root ,
100
- struct ompi_communicator_t * comm , ompi_request_t * * request ,
101
- mca_coll_base_module_t * module , int ireduce_tag );
47
+ int ompi_coll_adapt_reduce (REDUCE_ARGS );
48
+ int ompi_coll_adapt_ireduce (IREDUCE_ARGS );
49
+ int ompi_coll_adapt_ireduce_generic (IREDUCE_ARGS ,
50
+ ompi_coll_tree_t * tree , size_t seg_size , int ireduce_tag );
51
+ int ompi_coll_adapt_ireduce_tuned (IREDUCE_ARGS ,
52
+ int ireduce_tag );
53
+ int ompi_coll_adapt_ireduce_binomial (IREDUCE_ARGS ,
54
+ int ireduce_tag );
55
+ int ompi_coll_adapt_ireduce_in_order_binomial (IREDUCE_ARGS ,
56
+ int ireduce_tag );
57
+ int ompi_coll_adapt_ireduce_binary (IREDUCE_ARGS ,
58
+ int ireduce_tag );
59
+ int ompi_coll_adapt_ireduce_pipeline (IREDUCE_ARGS ,
60
+ int ireduce_tag );
61
+ int ompi_coll_adapt_ireduce_chain (IREDUCE_ARGS ,
62
+ int ireduce_tag );
63
+ int ompi_coll_adapt_ireduce_linear (IREDUCE_ARGS ,
64
+ int ireduce_tag );
0 commit comments