@@ -64,7 +64,7 @@ BEGIN_C_DECLS
6464 struct ompi_datatype_t * rdtype ,
6565 struct ompi_communicator_t * comm ,
6666 mca_coll_base_module_t * module );
67- int mca_coll_demo_allgatherv_inter (const void * sbuf , int scount ,
67+ int mca_coll_demo_allgatherv_inter (const void * sbuf , size_t scount ,
6868 struct ompi_datatype_t * sdtype ,
6969 void * rbuf , ompi_count_array_t rcounts , ompi_disp_array_t disps ,
7070 struct ompi_datatype_t * rdtype ,
@@ -109,15 +109,15 @@ BEGIN_C_DECLS
109109 mca_coll_base_module_t * module );
110110
111111 int mca_coll_demo_alltoallw_intra (const void * sbuf , ompi_count_array_t scounts , ompi_disp_array_t sdisps ,
112- struct ompi_datatype_t * * sdtypes ,
112+ struct ompi_datatype_t * const * sdtypes ,
113113 void * rbuf , ompi_count_array_t rcounts , ompi_disp_array_t rdisps ,
114- struct ompi_datatype_t * * rdtypes ,
114+ struct ompi_datatype_t * const * rdtypes ,
115115 struct ompi_communicator_t * comm ,
116116 mca_coll_base_module_t * module );
117- int mca_coll_demo_alltoallw_inter (void * sbuf , ompi_count_array_t scounts , ompi_disp_array_t sdisps ,
118- struct ompi_datatype_t * * sdtypes ,
117+ int mca_coll_demo_alltoallw_inter (const void * sbuf , ompi_count_array_t scounts , ompi_disp_array_t sdisps ,
118+ struct ompi_datatype_t * const * sdtypes ,
119119 void * rbuf , ompi_count_array_t rcounts , ompi_disp_array_t rdisps ,
120- struct ompi_datatype_t * * rdtypes ,
120+ struct ompi_datatype_t * const * rdtypes ,
121121 struct ompi_communicator_t * comm ,
122122 mca_coll_base_module_t * module );
123123
@@ -159,15 +159,15 @@ BEGIN_C_DECLS
159159 int root , struct ompi_communicator_t * comm ,
160160 mca_coll_base_module_t * module );
161161
162- int mca_coll_demo_gatherv_intra (const void * sbuf , int scount ,
162+ int mca_coll_demo_gatherv_intra (const void * sbuf , size_t scount ,
163163 struct ompi_datatype_t * sdtype , void * rbuf ,
164164 ompi_count_array_t rcounts , ompi_disp_array_t disps ,
165165 struct ompi_datatype_t * rdtype , int root ,
166166 struct ompi_communicator_t * comm ,
167167 mca_coll_base_module_t * module );
168- int mca_coll_demo_gatherv_inter (void * sbuf , int scount ,
169- struct ompi_datatype_t * sdtype , void * rbuf ,
170- ompi_count_array_t rcounts , ompi_disp_array_t disps ,
168+ int mca_coll_demo_gatherv_inter (const void * sbuf , size_t scount ,
169+ struct ompi_datatype_t * sdtype ,
170+ void * rbuf , ompi_count_array_t rcounts , ompi_disp_array_t disps ,
171171 struct ompi_datatype_t * rdtype , int root ,
172172 struct ompi_communicator_t * comm ,
173173 mca_coll_base_module_t * module );
@@ -199,15 +199,10 @@ BEGIN_C_DECLS
199199 mca_coll_base_module_t * module );
200200
201201 int mca_coll_demo_scan_intra (const void * sbuf , void * rbuf , size_t count ,
202- struct ompi_datatype_t * dtype ,
203- struct ompi_op_t * op ,
204- struct ompi_communicator_t * comm ,
205- mca_coll_base_module_t * module );
206- int mca_coll_demo_scan_inter (const void * sbuf , void * rbuf , size_t count ,
207- struct ompi_datatype_t * dtype ,
208- struct ompi_op_t * op ,
209- struct ompi_communicator_t * comm ,
210- mca_coll_base_module_t * module );
202+ struct ompi_datatype_t * dtype ,
203+ struct ompi_op_t * op ,
204+ struct ompi_communicator_t * comm ,
205+ mca_coll_base_module_t * module );
211206
212207 int mca_coll_demo_scatter_intra (const void * sbuf , size_t scount ,
213208 struct ompi_datatype_t * sdtype , void * rbuf ,
0 commit comments