Skip to content

Commit

Permalink
Implement Wasi's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
philipmarshall21 committed Mar 15, 2024
1 parent f5dbcee commit 0db6fd0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/shmemx/c11_test_shmem_ibget.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
} while (0)

#else
#define TEST_SHMEM_GET(USE_CTX, TYPE)
#define TEST_SHMEM_IBGET(USE_CTX, TYPE)

#endif

Expand Down
2 changes: 1 addition & 1 deletion test/shmemx/c11_test_shmem_ibput.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
} while (0)

#else
#define TEST_SHMEM_PUT(USE_CTX, TYPE)
#define TEST_SHMEM_IBPUT(USE_CTX, TYPE)

#endif

Expand Down
8 changes: 4 additions & 4 deletions test/shmemx/cxx_test_shmem_ibget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
//#include <stdbool.h>
#include <stdio.h>
#include <shmem.h>
#include <shmemx.h>
Expand All @@ -49,11 +49,11 @@
\
if (USE_CTX) \
shmemx_ctx_##TYPENAME##_ibget(SHMEM_CTX_DEFAULT, local, \
remote, 1, 1, 1, 10, \
(mype + 1) % npes); \
remote, 1, 1, 1, 10, \
(mype + 1) % npes); \
else \
shmemx_##TYPENAME##_ibget(local, remote, 1, 1, 1, 10, \
(mype + 1) % npes); \
(mype + 1) % npes); \
\
for (int i = 0; i < 10; i++) \
if (local[i] != (TYPE)((mype + 1) % npes)) { \
Expand Down
6 changes: 3 additions & 3 deletions test/shmemx/cxx_test_shmem_ibput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
//#include <stdbool.h>
#include <stdio.h>
#include <shmem.h>
#include <shmemx.h>
Expand All @@ -48,8 +48,8 @@
\
if (USE_CTX) \
shmemx_ctx_##TYPENAME##_ibput(SHMEM_CTX_DEFAULT, remote, \
local, 1, 1, 1, 10, \
(mype + 1) % npes); \
local, 1, 1, 1, 10, \
(mype + 1) % npes); \
else \
shmemx_##TYPENAME##_ibput(remote, local, 1, 1, 1, 10, \
(mype + 1) % npes); \
Expand Down

0 comments on commit 0db6fd0

Please sign in to comment.