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