Skip to content

Commit

Permalink
c bindings: un big count a few c interfaces
Browse files Browse the repository at this point in the history
MPI_Cart_create, MPI_Cart_map, MPI_Cart_rank and MPI_Cart_sub

do not have big count interfaces.

Signed-off-by: Howard Pritchard <[email protected]>
  • Loading branch information
hppritcha committed Oct 10, 2024
1 parent faaed64 commit b86d7de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ompi/mpi/c/cart_create.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#include "ompi/mca/topo/base/base.h"
#include "ompi/memchecker.h"

PROTOTYPE ERROR_CLASS cart_create(COMM old_comm, INT ndims, COUNT_ARRAY dims,
COUNT_ARRAY periods, INT reorder, COMM_OUT comm_cart)
PROTOTYPE ERROR_CLASS cart_create(COMM old_comm, INT ndims, INT_ARRAY dims,
INT_ARRAY periods, INT reorder, COMM_OUT comm_cart)
{
mca_topo_base_module_t* topo;
int err;
Expand Down
4 changes: 2 additions & 2 deletions ompi/mpi/c/cart_map.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#include "ompi/mca/topo/topo.h"
#include "ompi/memchecker.h"

PROTOTYPE ERROR_CLASS cart_map(COMM comm, INT ndims, COUNT_ARRAY dims,
COUNT_ARRAY periods, INT_OUT newrank)
PROTOTYPE ERROR_CLASS cart_map(COMM comm, INT ndims, INT_ARRAY dims,
INT_ARRAY periods, INT_OUT newrank)
{
int err = MPI_SUCCESS;

Expand Down
2 changes: 1 addition & 1 deletion ompi/mpi/c/cart_rank.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "ompi/mca/topo/topo.h"
#include "ompi/memchecker.h"

PROTOTYPE ERROR_CLASS cart_rank(COMM comm, COUNT_ARRAY coords, INT_OUT rank)
PROTOTYPE ERROR_CLASS cart_rank(COMM comm, INT_ARRAY coords, INT_OUT rank)
{
int i, err;

Expand Down
2 changes: 1 addition & 1 deletion ompi/mpi/c/cart_sub.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "ompi/mca/topo/topo.h"
#include "ompi/memchecker.h"

PROTOTYPE ERROR_CLASS cart_sub(COMM comm, COUNT_ARRAY remain_dims, COMM_OUT new_comm)
PROTOTYPE ERROR_CLASS cart_sub(COMM comm, INT_ARRAY remain_dims, COMM_OUT new_comm)
{
int err;

Expand Down

0 comments on commit b86d7de

Please sign in to comment.