Skip to content

Commit

Permalink
Fix the access to the rcount array.
Browse files Browse the repository at this point in the history
Somehow this has been missed during the MPI_Count upgrade of the
collective API.

Signed-off-by: George Bosilca <gbosilca@nvidia.com>
  • Loading branch information
bosilca committed Jul 25, 2024
1 parent 1b7215a commit 0a02491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/mca/coll/base/coll_base_alltoallv.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ mca_coll_base_alltoallv_intra_basic_inplace(const void *rbuf, ompi_count_array_t
if( OPAL_UNLIKELY(opal_local_arch != ompi_proc->super.proc_convertor->master->remote_arch)) {
packed_size = opal_datatype_compute_remote_size(&rdtype->super,
ompi_proc->super.proc_convertor->master->remote_sizes);
packed_size *= rcounts[right];
packed_size *= ompi_count_array_get(rcounts, right);
max_size = packed_size > max_size ? packed_size : max_size;
}
}
Expand Down

0 comments on commit 0a02491

Please sign in to comment.