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