@@ -100,10 +100,10 @@ mca_base_var_enum_value_t coll_base_allgatherv_algorithms[] = {
100100 * [5] [5] [5] [5] [5] [5] [5]
101101 * [6] [6] [6] [6] [6] [6] [6]
102102 */
103- int ompi_coll_base_allgatherv_intra_bruck (void * sbuf , int scount ,
103+ int ompi_coll_base_allgatherv_intra_bruck (const void * sbuf , int scount ,
104104 struct ompi_datatype_t * sdtype ,
105- void * rbuf , int * rcounts ,
106- int * rdispls ,
105+ void * rbuf , const int * rcounts ,
106+ const int * rdispls ,
107107 struct ompi_datatype_t * rdtype ,
108108 struct ompi_communicator_t * comm ,
109109 mca_coll_base_module_t * module )
@@ -230,9 +230,9 @@ int ompi_coll_base_allgatherv_intra_bruck(void *sbuf, int scount,
230230 * No additional memory requirements.
231231 *
232232 */
233- int ompi_coll_base_allgatherv_intra_ring (void * sbuf , int scount ,
233+ int ompi_coll_base_allgatherv_intra_ring (const void * sbuf , int scount ,
234234 struct ompi_datatype_t * sdtype ,
235- void * rbuf , int * rcounts , int * rdisps ,
235+ void * rbuf , const int * rcounts , const int * rdisps ,
236236 struct ompi_datatype_t * rdtype ,
237237 struct ompi_communicator_t * comm ,
238238 mca_coll_base_module_t * module )
@@ -359,9 +359,9 @@ int ompi_coll_base_allgatherv_intra_ring(void *sbuf, int scount,
359359 * [5] [5] [5] [5] [5] [5]
360360 */
361361int
362- ompi_coll_base_allgatherv_intra_neighborexchange (void * sbuf , int scount ,
362+ ompi_coll_base_allgatherv_intra_neighborexchange (const void * sbuf , int scount ,
363363 struct ompi_datatype_t * sdtype ,
364- void * rbuf , int * rcounts , int * rdispls ,
364+ void * rbuf , const int * rcounts , const int * rdispls ,
365365 struct ompi_datatype_t * rdtype ,
366366 struct ompi_communicator_t * comm ,
367367 mca_coll_base_module_t * module )
@@ -506,10 +506,10 @@ ompi_coll_base_allgatherv_intra_neighborexchange(void *sbuf, int scount,
506506}
507507
508508
509- int ompi_coll_base_allgatherv_intra_two_procs (void * sbuf , int scount ,
509+ int ompi_coll_base_allgatherv_intra_two_procs (const void * sbuf , int scount ,
510510 struct ompi_datatype_t * sdtype ,
511- void * rbuf , int * rcounts ,
512- int * rdispls ,
511+ void * rbuf , const int * rcounts ,
512+ const int * rdispls ,
513513 struct ompi_datatype_t * rdtype ,
514514 struct ompi_communicator_t * comm ,
515515 mca_coll_base_module_t * module )
@@ -590,10 +590,10 @@ int ompi_coll_base_allgatherv_intra_two_procs(void *sbuf, int scount,
590590 * Returns: - MPI_SUCCESS or error code
591591 */
592592int
593- ompi_coll_base_allgatherv_intra_basic_default (void * sbuf , int scount ,
593+ ompi_coll_base_allgatherv_intra_basic_default (const void * sbuf , int scount ,
594594 struct ompi_datatype_t * sdtype ,
595- void * rbuf , int * rcounts ,
596- int * disps ,
595+ void * rbuf , const int * rcounts ,
596+ const int * disps ,
597597 struct ompi_datatype_t * rdtype ,
598598 struct ompi_communicator_t * comm ,
599599 mca_coll_base_module_t * module )
0 commit comments