llvm-project/libclc/generic/include/clc/atom_decl_int32.inc

11 lines
295 B
C++

#define __CLC_DECLARE_ATOM(ADDRSPACE, TYPE) \
_CLC_OVERLOAD _CLC_DECL TYPE __CLC_FUNCTION (volatile ADDRSPACE TYPE *, TYPE);
__CLC_DECLARE_ATOM(__CLC_ADDRESS_SPACE, int)
__CLC_DECLARE_ATOM(__CLC_ADDRESS_SPACE, uint)
#undef __CLC_DECLARE_ATOM
#undef __CLC_FUNCTION
#undef __CLC_ADDRESS_SPACE