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