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