1
1

Fix warnings due to missing const

Этот коммит содержится в:
Rolf vandeVaart 2015-09-21 14:18:44 -04:00
родитель 23c41a0320
Коммит 2c51faa58d
6 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -2,7 +2,7 @@
* Copyright (c) 2014 The University of Tennessee and The University * Copyright (c) 2014 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights * of Tennessee Research Foundation. All rights
* reserved. * reserved.
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved. * Copyright (c) 2014-2015 NVIDIA Corporation. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -39,33 +39,33 @@ int mca_coll_cuda_module_enable(mca_coll_base_module_t *module,
struct ompi_communicator_t *comm); struct ompi_communicator_t *comm);
int int
mca_coll_cuda_allreduce(void *sbuf, void *rbuf, int count, mca_coll_cuda_allreduce(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,
mca_coll_base_module_t *module); mca_coll_base_module_t *module);
int mca_coll_cuda_reduce(void *sbuf, void *rbuf, int count, int mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
int root, int root,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,
mca_coll_base_module_t *module); mca_coll_base_module_t *module);
int mca_coll_cuda_exscan(void *sbuf, void *rbuf, int count, int mca_coll_cuda_exscan(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,
mca_coll_base_module_t *module); mca_coll_base_module_t *module);
int mca_coll_cuda_scan(void *sbuf, void *rbuf, int count, int mca_coll_cuda_scan(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,
mca_coll_base_module_t *module); mca_coll_base_module_t *module);
int int
mca_coll_cuda_reduce_scatter_block(void *sbuf, void *rbuf, int rcount, mca_coll_cuda_reduce_scatter_block(const void *sbuf, void *rbuf, int rcount,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,

Просмотреть файл

@ -27,7 +27,7 @@
* Returns: - MPI_SUCCESS or error code * Returns: - MPI_SUCCESS or error code
*/ */
int int
mca_coll_cuda_allreduce(void *sbuf, void *rbuf, int count, mca_coll_cuda_allreduce(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,

Просмотреть файл

@ -19,7 +19,7 @@
#include "opal/datatype/opal_convertor.h" #include "opal/datatype/opal_convertor.h"
#include "opal/datatype/opal_datatype_cuda.h" #include "opal/datatype/opal_datatype_cuda.h"
int mca_coll_cuda_exscan(void *sbuf, void *rbuf, int count, int mca_coll_cuda_exscan(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,

Просмотреть файл

@ -27,7 +27,7 @@
* Returns: - MPI_SUCCESS or error code * Returns: - MPI_SUCCESS or error code
*/ */
int int
mca_coll_cuda_reduce(void *sbuf, void *rbuf, int count, mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
int root, struct ompi_communicator_t *comm, int root, struct ompi_communicator_t *comm,

Просмотреть файл

@ -31,7 +31,7 @@
* up at some point) * up at some point)
*/ */
int int
mca_coll_cuda_reduce_scatter_block(void *sbuf, void *rbuf, int rcount, mca_coll_cuda_reduce_scatter_block(const void *sbuf, void *rbuf, int rcount,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,

Просмотреть файл

@ -26,7 +26,7 @@
* Accepts: - same arguments as MPI_Scan() * Accepts: - same arguments as MPI_Scan()
* Returns: - MPI_SUCCESS or error code * Returns: - MPI_SUCCESS or error code
*/ */
int mca_coll_cuda_scan(void *sbuf, void *rbuf, int count, int mca_coll_cuda_scan(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype, struct ompi_datatype_t *dtype,
struct ompi_op_t *op, struct ompi_op_t *op,
struct ompi_communicator_t *comm, struct ompi_communicator_t *comm,