File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33
33
34
34
BEGIN_C_DECLS
35
35
36
- #define ATOMIC_PTR_2_INT (ptr , size ) ((size) == 8 ? *(uint64_t*)(ptr) : *(uint32_t*)(ptr))
36
+ #define OSHMEM_ATOMIC_PTR_2_INT (ptr , size ) ((size) == 8 ? *(uint64_t*)(ptr) : *(uint32_t*)(ptr))
37
37
38
38
/* ******************************************************************** */
39
39
Original file line number Diff line number Diff line change 39
39
rc = MCA_ATOMIC_CALL(cswap( \
40
40
(void*)target, \
41
41
&out_value, \
42
- ATOMIC_PTR_2_INT (&cond, sizeof(cond)), \
43
- ATOMIC_PTR_2_INT (&value, sizeof(value)), \
42
+ OSHMEM_ATOMIC_PTR_2_INT (&cond, sizeof(cond)), \
43
+ OSHMEM_ATOMIC_PTR_2_INT (&value, sizeof(value)), \
44
44
size, \
45
45
pe)); \
46
46
RUNTIME_CHECK_RC(rc); \
Original file line number Diff line number Diff line change 37
37
rc = MCA_ATOMIC_CALL(swap( \
38
38
(void*)target, \
39
39
(void*)&out_value, \
40
- ATOMIC_PTR_2_INT (&value, sizeof(value)), \
40
+ OSHMEM_ATOMIC_PTR_2_INT (&value, sizeof(value)), \
41
41
size, \
42
42
pe)); \
43
43
RUNTIME_CHECK_RC(rc); \
You can’t perform that action at this time.
0 commit comments