blob: 7faa3cc040f0e02d336879c22e92193a841be54e [file] [log] [blame]
#include <clc/clc.h>
#define IMPL(TYPE) \
_CLC_OVERLOAD _CLC_DEF TYPE atom_sub(global TYPE *p, TYPE val) { \
return atomic_sub(p, val); \
}
IMPL(int)
IMPL(unsigned int)