1#define __CLC_DECLARE_ATOMIC(ADDRSPACE, TYPE) \ 2 _CLC_OVERLOAD _CLC_DECL TYPE __CLC_FUNCTION (volatile ADDRSPACE TYPE *, TYPE); 3 4#define __CLC_DECLARE_ATOMIC_ADDRSPACE(TYPE) \ 5 __CLC_DECLARE_ATOMIC(global, TYPE) \ 6 __CLC_DECLARE_ATOMIC(local, TYPE) 7 8__CLC_DECLARE_ATOMIC_ADDRSPACE(int) 9__CLC_DECLARE_ATOMIC_ADDRSPACE(uint) 10 11#undef __CLC_DECLARE_ATOMIC_ADDRSPACE 12#undef __CLC_DECLARE_ATOMIC 13 14#undef __CLC_FUNCTION 15