blob: 422bb785291dd08ed054972706c4c00827e05799 [file] [log] [blame]
#include <clc/clc.h>
#define IMPL(TYPE) \
_CLC_OVERLOAD _CLC_DEF TYPE atom_inc(global TYPE *p) { \
return atomic_inc(p); \
}
IMPL(int)
IMPL(unsigned int)