1717 * reserved.
1818 * Copyright (c) 2011-2013 INRIA. All rights reserved.
1919 * Copyright (c) 2015 University of Houston. All rights reserved.
20+ * Copyright (c) 2015 Research Organization for Information Science
21+ * and Technology (RIST). All rights reserved.
2022 * $COPYRIGHT$
2123 *
2224 * Additional copyrights may follow
@@ -1328,7 +1330,7 @@ OMPI_DECLSPEC int MPI_Comm_spawn_multiple(int count, char *array_of_commands[],
13281330OMPI_DECLSPEC int MPI_Comm_split (MPI_Comm comm , int color , int key , MPI_Comm * newcomm );
13291331OMPI_DECLSPEC int MPI_Comm_split_type (MPI_Comm comm , int split_type , int key , MPI_Info info , MPI_Comm * newcomm );
13301332OMPI_DECLSPEC int MPI_Comm_test_inter (MPI_Comm comm , int * flag );
1331- OMPI_DECLSPEC int MPI_Compare_and_swap (void * origin_addr , void * compare_addr ,
1333+ OMPI_DECLSPEC int MPI_Compare_and_swap (const void * origin_addr , const void * compare_addr ,
13321334 void * result_addr , MPI_Datatype datatype , int target_rank ,
13331335 MPI_Aint target_disp , MPI_Win win );
13341336OMPI_DECLSPEC int MPI_Dims_create (int nnodes , int ndims , int dims []);
@@ -1346,7 +1348,7 @@ OMPI_DECLSPEC int MPI_Error_class(int errorcode, int *errorclass);
13461348OMPI_DECLSPEC int MPI_Error_string (int errorcode , char * string , int * resultlen );
13471349OMPI_DECLSPEC int MPI_Exscan (const void * sendbuf , void * recvbuf , int count ,
13481350 MPI_Datatype datatype , MPI_Op op , MPI_Comm comm );
1349- OMPI_DECLSPEC int MPI_Fetch_and_op (void * origin_addr , void * result_addr , MPI_Datatype datatype ,
1351+ OMPI_DECLSPEC int MPI_Fetch_and_op (const void * origin_addr , void * result_addr , MPI_Datatype datatype ,
13501352 int target_rank , MPI_Aint target_disp , MPI_Op op , MPI_Win win );
13511353OMPI_DECLSPEC int MPI_Iexscan (const void * sendbuf , void * recvbuf , int count ,
13521354 MPI_Datatype datatype , MPI_Op op , MPI_Comm comm , MPI_Request * request );
@@ -1622,8 +1624,8 @@ OMPI_DECLSPEC int MPI_Put(const void *origin_addr, int origin_count, MPI_Dataty
16221624 int target_rank , MPI_Aint target_disp , int target_count ,
16231625 MPI_Datatype target_datatype , MPI_Win win );
16241626OMPI_DECLSPEC int MPI_Query_thread (int * provided );
1625- OMPI_DECLSPEC int MPI_Raccumulate (void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
1626- int target_rank , MPI_Aint target_disp , int target_count ,
1627+ OMPI_DECLSPEC int MPI_Raccumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
1628+ int target_rank , MPI_Aint target_disp , int target_count ,
16271629 MPI_Datatype target_datatype , MPI_Op op , MPI_Win win , MPI_Request * request );
16281630OMPI_DECLSPEC int MPI_Recv_init (void * buf , int count , MPI_Datatype datatype , int source ,
16291631 int tag , MPI_Comm comm , MPI_Request * request );
@@ -1846,7 +1848,7 @@ OMPI_DECLSPEC int MPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_at
18461848 MPI_Win_delete_attr_function * win_delete_attr_fn ,
18471849 int * win_keyval , void * extra_state );
18481850OMPI_DECLSPEC int MPI_Win_delete_attr (MPI_Win win , int win_keyval );
1849- OMPI_DECLSPEC int MPI_Win_detach (MPI_Win win , void * base );
1851+ OMPI_DECLSPEC int MPI_Win_detach (MPI_Win win , const void * base );
18501852OMPI_DECLSPEC MPI_Win MPI_Win_f2c (MPI_Fint win );
18511853OMPI_DECLSPEC int MPI_Win_fence (int assert , MPI_Win win );
18521854OMPI_DECLSPEC int MPI_Win_flush (int rank , MPI_Win win );
@@ -2028,7 +2030,7 @@ OMPI_DECLSPEC int PMPI_Comm_spawn_multiple(int count, char *array_of_commands[]
20282030OMPI_DECLSPEC int PMPI_Comm_split (MPI_Comm comm , int color , int key , MPI_Comm * newcomm );
20292031OMPI_DECLSPEC int PMPI_Comm_split_type (MPI_Comm comm , int split_type , int key , MPI_Info info , MPI_Comm * newcomm );
20302032OMPI_DECLSPEC int PMPI_Comm_test_inter (MPI_Comm comm , int * flag );
2031- OMPI_DECLSPEC int PMPI_Compare_and_swap (void * origin_addr , void * compare_addr ,
2033+ OMPI_DECLSPEC int PMPI_Compare_and_swap (const void * origin_addr , const void * compare_addr ,
20322034 void * result_addr , MPI_Datatype datatype , int target_rank ,
20332035 MPI_Aint target_disp , MPI_Win win );
20342036OMPI_DECLSPEC int PMPI_Dims_create (int nnodes , int ndims , int dims []);
@@ -2046,7 +2048,7 @@ OMPI_DECLSPEC int PMPI_Error_class(int errorcode, int *errorclass);
20462048OMPI_DECLSPEC int PMPI_Error_string (int errorcode , char * string , int * resultlen );
20472049OMPI_DECLSPEC int PMPI_Exscan (const void * sendbuf , void * recvbuf , int count ,
20482050 MPI_Datatype datatype , MPI_Op op , MPI_Comm comm );
2049- OMPI_DECLSPEC int PMPI_Fetch_and_op (void * origin_addr , void * result_addr , MPI_Datatype datatype ,
2051+ OMPI_DECLSPEC int PMPI_Fetch_and_op (const void * origin_addr , void * result_addr , MPI_Datatype datatype ,
20502052 int target_rank , MPI_Aint target_disp , MPI_Op op , MPI_Win win );
20512053OMPI_DECLSPEC int PMPI_Iexscan (const void * sendbuf , void * recvbuf , int count ,
20522054 MPI_Datatype datatype , MPI_Op op , MPI_Comm comm , MPI_Request * request );
@@ -2324,8 +2326,8 @@ OMPI_DECLSPEC int PMPI_Put(const void *origin_addr, int origin_count, MPI_Datat
23242326 int target_rank , MPI_Aint target_disp , int target_count ,
23252327 MPI_Datatype target_datatype , MPI_Win win );
23262328OMPI_DECLSPEC int PMPI_Query_thread (int * provided );
2327- OMPI_DECLSPEC int PMPI_Raccumulate (void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
2328- int target_rank , MPI_Aint target_disp , int target_count ,
2329+ OMPI_DECLSPEC int PMPI_Raccumulate (const void * origin_addr , int origin_count , MPI_Datatype origin_datatype ,
2330+ int target_rank , MPI_Aint target_disp , int target_count ,
23292331 MPI_Datatype target_datatype , MPI_Op op , MPI_Win win , MPI_Request * request );
23302332OMPI_DECLSPEC int PMPI_Recv_init (void * buf , int count , MPI_Datatype datatype , int source ,
23312333 int tag , MPI_Comm comm , MPI_Request * request );
@@ -2548,7 +2550,7 @@ OMPI_DECLSPEC int PMPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_a
25482550 MPI_Win_delete_attr_function * win_delete_attr_fn ,
25492551 int * win_keyval , void * extra_state );
25502552OMPI_DECLSPEC int PMPI_Win_delete_attr (MPI_Win win , int win_keyval );
2551- OMPI_DECLSPEC int PMPI_Win_detach (MPI_Win win , void * base );
2553+ OMPI_DECLSPEC int PMPI_Win_detach (MPI_Win win , const void * base );
25522554OMPI_DECLSPEC MPI_Win PMPI_Win_f2c (MPI_Fint win );
25532555OMPI_DECLSPEC int PMPI_Win_fence (int assert , MPI_Win win );
25542556OMPI_DECLSPEC int PMPI_Win_flush (int rank , MPI_Win win );
0 commit comments