Skip to content

Commit

Permalink
Merge pull request #12934 from janjust/v5.0.x
Browse files Browse the repository at this point in the history
V5.0.x: coll/cuda fix the size_t / int parameter
  • Loading branch information
janjust authored Nov 25, 2024
2 parents a42415a + 399f69d commit 84f8ddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ompi/mca/coll/cuda/coll_cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
struct ompi_communicator_t *comm,
mca_coll_base_module_t *module);

int mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, size_t count,
int mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype,
struct ompi_op_t *op,
mca_coll_base_module_t *module);
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/cuda/coll_cuda_reduce.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
}

int
mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, size_t count,
mca_coll_cuda_reduce_local(const void *sbuf, void *rbuf, int count,
struct ompi_datatype_t *dtype,
struct ompi_op_t *op,
mca_coll_base_module_t *module)
Expand Down

0 comments on commit 84f8ddd

Please sign in to comment.