|
2 | 2 | * Copyright (c) 2014 The University of Tennessee and The University |
3 | 3 | * of Tennessee Research Foundation. All rights |
4 | 4 | * reserved. |
5 | | - * Copyright (c) 2014 NVIDIA Corporation. All rights reserved. |
| 5 | + * Copyright (c) 2014-2015 NVIDIA Corporation. All rights reserved. |
6 | 6 | * $COPYRIGHT$ |
7 | 7 | * |
8 | 8 | * Additional copyrights may follow |
@@ -39,33 +39,33 @@ int mca_coll_cuda_module_enable(mca_coll_base_module_t *module, |
39 | 39 | struct ompi_communicator_t *comm); |
40 | 40 |
|
41 | 41 | int |
42 | | -mca_coll_cuda_allreduce(void *sbuf, void *rbuf, int count, |
| 42 | +mca_coll_cuda_allreduce(const void *sbuf, void *rbuf, int count, |
43 | 43 | struct ompi_datatype_t *dtype, |
44 | 44 | struct ompi_op_t *op, |
45 | 45 | struct ompi_communicator_t *comm, |
46 | 46 | mca_coll_base_module_t *module); |
47 | 47 |
|
48 | | -int mca_coll_cuda_reduce(void *sbuf, void *rbuf, int count, |
| 48 | +int mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count, |
49 | 49 | struct ompi_datatype_t *dtype, |
50 | 50 | struct ompi_op_t *op, |
51 | 51 | int root, |
52 | 52 | struct ompi_communicator_t *comm, |
53 | 53 | mca_coll_base_module_t *module); |
54 | 54 |
|
55 | | -int mca_coll_cuda_exscan(void *sbuf, void *rbuf, int count, |
| 55 | +int mca_coll_cuda_exscan(const void *sbuf, void *rbuf, int count, |
56 | 56 | struct ompi_datatype_t *dtype, |
57 | 57 | struct ompi_op_t *op, |
58 | 58 | struct ompi_communicator_t *comm, |
59 | 59 | mca_coll_base_module_t *module); |
60 | 60 |
|
61 | | -int mca_coll_cuda_scan(void *sbuf, void *rbuf, int count, |
| 61 | +int mca_coll_cuda_scan(const void *sbuf, void *rbuf, int count, |
62 | 62 | struct ompi_datatype_t *dtype, |
63 | 63 | struct ompi_op_t *op, |
64 | 64 | struct ompi_communicator_t *comm, |
65 | 65 | mca_coll_base_module_t *module); |
66 | 66 |
|
67 | 67 | int |
68 | | -mca_coll_cuda_reduce_scatter_block(void *sbuf, void *rbuf, int rcount, |
| 68 | +mca_coll_cuda_reduce_scatter_block(const void *sbuf, void *rbuf, int rcount, |
69 | 69 | struct ompi_datatype_t *dtype, |
70 | 70 | struct ompi_op_t *op, |
71 | 71 | struct ompi_communicator_t *comm, |
|
0 commit comments