Skip to content

Commit

Permalink
test: fix a few gpu testing bug
Browse files Browse the repository at this point in the history
sendself.c typo - replace "sendmem" with "recvmem".

lock_x_dt.c typo - replace "targetbuf" with "targetbuf_h".
  • Loading branch information
hzhou committed Feb 12, 2021
1 parent 56943e3 commit 949ed71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/mpi/pt2pt/sendself.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int main(int argc, char *argv[])
}

err = MPI_Wait(&req, MPI_STATUS_IGNORE);
MTestCopyContent(recvbuf, recvbuf_h, recv_obj.DTP_bufsize, sendmem);
MTestCopyContent(recvbuf, recvbuf_h, recv_obj.DTP_bufsize, recvmem);
err = DTP_obj_buf_check(recv_obj, recvbuf_h, 0, 1, count[0]);
if (err != DTP_SUCCESS) {
if (errs < 10) {
Expand Down
2 changes: 1 addition & 1 deletion test/mpi/rma/lock_x_dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static int run_test(MPI_Comm comm, MPI_Win win, DTP_obj_s orig_obj, void *origbu
if (err != DTP_SUCCESS)
errs++;

err = DTP_obj_buf_init(target_obj, targetbuf, 1, 2, count);
err = DTP_obj_buf_init(target_obj, targetbuf_h, 1, 2, count);
if (err != DTP_SUCCESS)
errs++;

Expand Down

0 comments on commit 949ed71

Please sign in to comment.