11/*
22 * Copyright (C) Mellanox Technologies Ltd. 2001-2011. ALL RIGHTS RESERVED.
3+ * Copyright (c) 2015 Research Organization for Information Science
4+ * and Technology (RIST). All rights reserved.
35 * $COPYRIGHT$
46 *
57 * Additional copyrights may follow
@@ -311,7 +313,7 @@ int mca_pml_yalla_del_comm(struct ompi_communicator_t* comm)
311313 return OMPI_SUCCESS ;
312314}
313315
314- int mca_pml_yalla_irecv_init (void * buf , size_t count , ompi_datatype_t * datatype ,
316+ int mca_pml_yalla_irecv_init (const void * buf , size_t count , ompi_datatype_t * datatype ,
315317 int src , int tag , struct ompi_communicator_t * comm ,
316318 struct ompi_request_t * * request )
317319{
@@ -327,7 +329,7 @@ int mca_pml_yalla_irecv_init(void *buf, size_t count, ompi_datatype_t *datatype,
327329 return OMPI_SUCCESS ;
328330}
329331
330- int mca_pml_yalla_irecv (void * buf , size_t count , ompi_datatype_t * datatype ,
332+ int mca_pml_yalla_irecv (const void * buf , size_t count , ompi_datatype_t * datatype ,
331333 int src , int tag , struct ompi_communicator_t * comm ,
332334 struct ompi_request_t * * request )
333335{
@@ -351,7 +353,7 @@ int mca_pml_yalla_irecv(void *buf, size_t count, ompi_datatype_t *datatype,
351353 return OMPI_SUCCESS ;
352354}
353355
354- int mca_pml_yalla_recv (void * buf , size_t count , ompi_datatype_t * datatype , int src ,
356+ int mca_pml_yalla_recv (const void * buf , size_t count , ompi_datatype_t * datatype , int src ,
355357 int tag , struct ompi_communicator_t * comm ,
356358 ompi_status_public_t * status )
357359{
@@ -381,7 +383,7 @@ int mca_pml_yalla_recv(void *buf, size_t count, ompi_datatype_t *datatype, int s
381383 return OMPI_SUCCESS ;
382384}
383385
384- int mca_pml_yalla_isend_init (void * buf , size_t count , ompi_datatype_t * datatype ,
386+ int mca_pml_yalla_isend_init (const void * buf , size_t count , ompi_datatype_t * datatype ,
385387 int dst , int tag , mca_pml_base_send_mode_t mode ,
386388 struct ompi_communicator_t * comm ,
387389 struct ompi_request_t * * request )
@@ -448,7 +450,7 @@ static int mca_pml_yalla_bsend(mxm_send_req_t *mxm_sreq)
448450 return OMPI_SUCCESS ;
449451}
450452
451- int mca_pml_yalla_isend (void * buf , size_t count , ompi_datatype_t * datatype ,
453+ int mca_pml_yalla_isend (const void * buf , size_t count , ompi_datatype_t * datatype ,
452454 int dst , int tag , mca_pml_base_send_mode_t mode ,
453455 struct ompi_communicator_t * comm ,
454456 struct ompi_request_t * * request )
@@ -484,7 +486,7 @@ int mca_pml_yalla_isend(void *buf, size_t count, ompi_datatype_t *datatype,
484486 return OMPI_SUCCESS ;
485487}
486488
487- int mca_pml_yalla_send (void * buf , size_t count , ompi_datatype_t * datatype , int dst ,
489+ int mca_pml_yalla_send (const void * buf , size_t count , ompi_datatype_t * datatype , int dst ,
488490 int tag , mca_pml_base_send_mode_t mode ,
489491 struct ompi_communicator_t * comm )
490492{
0 commit comments