@@ -705,11 +705,11 @@ OSHMEM_DECLSPEC unsigned int pshmem_ctx_uint_atomic_fetch_and(shmem_ctx_t ctx, u
705
705
OSHMEM_DECLSPEC unsigned long pshmem_ctx_ulong_atomic_fetch_and (shmem_ctx_t ctx, unsigned long *target, unsigned long value, int pe);
706
706
OSHMEM_DECLSPEC unsigned long long pshmem_ctx_ulonglong_atomic_fetch_and (shmem_ctx_t ctx, unsigned long long *target, unsigned long long value, int pe);
707
707
#if OSHMEMP_HAVE_C11
708
- #define pshmem_atomic_fetch_and (ctx, dst, val, pe ) \
709
- _Generic (&*(dst), \
710
- int*: pshmem_ctx_uint_atomic_fetch_and, \
711
- long*: pshmem_ctx_ulong_atomic_fetch_and, \
712
- long long*: pshmem_ctx_ulonglong_atomic_fetch_and)(ctx, dst, val, pe)
708
+ #define pshmem_atomic_fetch_and (ctx, dst, val, pe ) \
709
+ _Generic (&*(dst), \
710
+ unsigned int*: pshmem_ctx_uint_atomic_fetch_and, \
711
+ unsigned long*: pshmem_ctx_ulong_atomic_fetch_and, \
712
+ unsigned long long*: pshmem_ctx_ulonglong_atomic_fetch_and)(ctx, dst, val, pe)
713
713
#endif
714
714
715
715
OSHMEM_DECLSPEC unsigned int pshmem_uint_atomic_fetch_and (unsigned int *target, unsigned int value, int pe);
@@ -752,7 +752,7 @@ OSHMEM_DECLSPEC unsigned long pshmem_ctx_ulong_atomic_fetch_xor(shmem_ctx_t ctx,
752
752
OSHMEM_DECLSPEC unsigned long long pshmem_ctx_ulonglong_atomic_fetch_xor (shmem_ctx_t ctx, unsigned long long *target, unsigned long long value, int pe);
753
753
#if OSHMEM_HAVE_C11
754
754
#define pshmem_atomic_fetch_xor (ctx, dst, val, pe ) \
755
- _Generic (&*(dst), \
755
+ _Generic (&*(dst), \
756
756
unsigned int*: pshmem_ctx_uint_atomic_fetch_xor, \
757
757
unsigned long*: pshmem_ctx_ulong_atomic_fetch_xor, \
758
758
unsigned long long*: pshmem_ctx_ulonglong_atomic_fetch_xor)(ctx, dst, val, pe)
0 commit comments