Skip to content

Commit

Permalink
tests: set nrecv=1 in functional tests
Browse files Browse the repository at this point in the history
These tests do not support multi-recv.

Signed-off-by: Eric Raut <[email protected]>
  • Loading branch information
rauteric committed Feb 22, 2024
1 parent 213172a commit ed4d6e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/functional/nccl_message_transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int main(int argc, char* argv[])

/* For grouped recvs */
int tag = 1;
int nrecv = NCCL_OFI_MAX_RECVS;
int nrecv = 1;
int *sizes = (int *)malloc(sizeof(int)*nrecv);
int *tags = (int *)malloc(sizeof(int)*nrecv);
int recv_n;
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ int main(int argc, char *argv[])

/* For grouped receives */
int tag = 1;
int nrecv = NCCL_OFI_MAX_RECVS;
int nrecv = 1;
int *sizes = (int *)malloc(sizeof(int)*nrecv);
int *tags = (int *)malloc(sizeof(int)*nrecv);
int recv_n;
Expand Down

0 comments on commit ed4d6e7

Please sign in to comment.