Skip to content

Commit 399f69d

Browse files
committed
v5.0.x: coll/cuda Fix the size_t/int parameter
Signed-off-by: Tomislav Janjusic <[email protected]>
1 parent a42415a commit 399f69d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/mca/coll/cuda/coll_cuda.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
5454
struct ompi_communicator_t *comm,
5555
mca_coll_base_module_t *module);
5656

57-
int mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, size_t count,
57+
int mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, int count,
5858
struct ompi_datatype_t *dtype,
5959
struct ompi_op_t *op,
6060
mca_coll_base_module_t *module);

ompi/mca/coll/cuda/coll_cuda_reduce.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
8585
}
8686

8787
int
88-
mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, size_t count,
88+
mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, int count,
8989
struct ompi_datatype_t *dtype,
9090
struct ompi_op_t *op,
9191
mca_coll_base_module_t *module)

0 commit comments

Comments
 (0)